makefile 560 B

123456789101112131415161718192021222324252627
  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. EMPTY := ""
  6. font-source-code-pro_$(VERSION)_all.deb:
  7. @echo Building $@
  8. cd src/; debuild -us -uc
  9. .PHONY: clean
  10. clean:
  11. rm -rf *.upload
  12. rm -rf *.deb
  13. rm -rf *.changes
  14. .PHONY: upload
  15. upload:
  16. dput deb.prawnos.com *.changes
  17. install:
  18. ifndef INSTALL_TARGET
  19. $(error INSTALL_TARGET is not set)
  20. endif
  21. cp font-source-code-pro_$(VERSION)_all.deb $(INSTALL_TARGET)