You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
707 B

5 years ago
DEPENDENCIES=debhelper devscripts
.PHONY: default
default: clean build
.PHONY: build
build: libsquash_*.deb $(PACKAGE)_*.deb
(cd libsquash; make clean; debuild -b -us -uc; cd ..)
5 years ago
$(PACKAGE)_*.deb: $(PACKAGE)/man/* $(PACKAGE)/zvault
5 years ago
(cd $(PACKAGE); make clean; debuild -b -us -uc; cd ..)
.PHONY: clean
(cd $(PACKAGE); debuild clean; cd ..)
rm -rf $(PACKAGE)_*
(cd libsquash; debuild clean; cd ..)
rm -rf libsqash_*
5 years ago
$(PACKAGE)/man/*: ../docs/man/*
cp ../docs/man/* $(PACKAGE)/man
5 years ago
$(PACKAGE)/zvault: ../target/release/zvault
cp ../target/release/zvault $(PACKAGE)/zvault
../target/release/zvault: ../src/*.rs ../Cargo.toml
(cd ..; cargo build --release)