diff options
author | Nick White <git@njw.me.uk> | 2013-02-04 00:11:35 +0000 |
---|---|---|
committer | Nick White <git@njw.me.uk> | 2013-02-04 00:11:35 +0000 |
commit | a0feb5d267d5fd8d5e8837c2e3ae891116f5943c (patch) | |
tree | 870907b9410bf7aaf3f9281aa80cc8961c1a8b9d | |
parent | 7db1abc2f7ecd51e6eecc70543a4d267cd32f1e2 (diff) |
Add debian packaging rules to main makefile
-rw-r--r-- | Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -76,6 +76,15 @@ dist-static: $(BIN) rm -rf $(NAME)-$(VERSION) echo $(NAME)-$(VERSION)-static.tar.bz2 $(NAME)-$(VERSION)-static.tar.bz2.sig +# builds a basic .deb package +dist-deb: + debian/rules clean + fakeroot debian/rules binary + +# builds package and debian support files (.sig etc) +dist-debpkg: + dpkg-buildpackage + getxbookgui.exe: getxbookgui.tcl echo STARPACK $@ sed 's/ icons/ .. icons/' < getxbookgui.tcl > getxbookgui-win.tcl @@ -142,5 +151,5 @@ comparison.html: comparison.txt smu < comparison.txt >> $@ echo '</body></html>' >> $@ -.PHONY: all clean install uninstall dist dist-win dist-mac +.PHONY: all clean install uninstall dist dist-win dist-deb dist-debpkg .SILENT: index.html comparison.html dist |