vpncloud/deb/Makefile

26 lines
645 B
Makefile
Raw Normal View History

2015-11-24 09:22:25 +00:00
PACKAGE=vpncloud
DEPENDENCIES=debhelper devscripts
.PHONY: default
default: clean build
.PHONY: build
2015-11-30 16:27:50 +00:00
build: $(PACKAGE)_*.deb
2015-12-02 13:16:13 +00:00
$(PACKAGE)_*.deb: $(PACKAGE)/vpncloud.1.ronn $(PACKAGE)/vpncloud
2015-11-24 09:22:25 +00:00
(cd $(PACKAGE); make clean; debuild -b -us -uc; cd ..)
.PHONY: clean
clean:
2019-01-03 18:48:34 +00:00
(cd $(PACKAGE); debuild -- clean; cd ..)
2015-11-30 16:27:50 +00:00
rm -rf $(PACKAGE)_*
2015-12-22 18:26:45 +00:00
rm -f ../target/release/vpncloud
2015-12-02 13:16:13 +00:00
$(PACKAGE)/vpncloud.1.ronn: ../vpncloud.md
cp ../vpncloud.md $(PACKAGE)/vpncloud.1.ronn
$(PACKAGE)/vpncloud: ../target/release/vpncloud
cp ../target/release/vpncloud $(PACKAGE)/vpncloud
../target/release/vpncloud: ../src/*.rs ../Cargo.toml
(cd ..; cargo build --release)