mirror of
https://github.com/kbumsik/VirtScreen.git
synced 2025-03-09 15:40:18 +00:00
Debian: cleanup build system
This commit is contained in:
parent
a97e532b93
commit
7dcf8a8bde
9 changed files with 22 additions and 71 deletions
11
Makefile
11
Makefile
|
|
@ -5,7 +5,6 @@ VERSION ?= 0.2.4
|
|||
DOCKER_NAME=kbumsik/virtscreen
|
||||
DOCKER_RUN=docker run --interactive --tty -v $(shell pwd):/app $(DOCKER_NAME)
|
||||
DOCKER_RUN_TTY=docker run --interactive --tty -v $(shell pwd):/app $(DOCKER_NAME)
|
||||
DOCKER_RUN_DEB=docker run -v $(shell pwd)/package/debian:/app $(DOCKER_NAME)
|
||||
|
||||
.ONESHELL:
|
||||
|
||||
|
|
@ -43,14 +42,14 @@ appimage-clean:
|
|||
.PHONY: deb-contents deb-clean
|
||||
|
||||
package/debian/%.deb:
|
||||
$(DOCKER_RUN_DEB) /app/debmake.sh virtualenv
|
||||
$(DOCKER_RUN_DEB) /app/copy_debian.sh virtualenv
|
||||
$(DOCKER_RUN_DEB) /app/debuild.sh virtualenv
|
||||
$(DOCKER_RUN_DEB) chown -R $(shell id -u):$(shell id -u) /app/build
|
||||
$(DOCKER_RUN) package/debian/debmake.sh
|
||||
$(DOCKER_RUN) package/debian/copy_debian.sh
|
||||
$(DOCKER_RUN) package/debian/debuild.sh
|
||||
$(DOCKER_RUN) chown -R $(shell id -u):$(shell id -u) package/debian/build
|
||||
cp package/debian/build/virtscreen*.deb package/debian
|
||||
|
||||
deb-contents:
|
||||
$(DOCKER_RUN_DEB) /app/contents.sh
|
||||
$(DOCKER_RUN) dpkg -c package/debian/*.deb
|
||||
|
||||
deb-clean:
|
||||
rm -rf package/debian/build package/debian/*.deb
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue