makefile 619 B

1234567891011121314151617181920212223242526272829
  1. #import all shared make vars
  2. PRAWNOS_ROOT := $(shell git rev-parse --show-toplevel)
  3. include $(PRAWNOS_ROOT)/scripts/common.mk
  4. VERSION := $(shell cd src/; dpkg-parsechangelog --show-field Version)
  5. xsecurelock_$(VERSION)_armhf.deb:
  6. @echo Building $@
  7. cd src/; pdebuild --configfile $(PBUILDER_RC) \
  8. --buildresult .. \
  9. -- \
  10. --basetgz $(PBUILDER_CHROOT) \
  11. .PHONY: clean
  12. clean:
  13. rm -rf *.upload
  14. rm -rf *.deb
  15. rm -rf *.changes
  16. rm -rf *.dsc
  17. rm -rf *.build
  18. rm -rf *.debian.tar.xz
  19. rm -rf *.buildinfo
  20. .PHONY: upload
  21. upload:
  22. dput deb.prawnos.com *.changes