From a0feb5d267d5fd8d5e8837c2e3ae891116f5943c Mon Sep 17 00:00:00 2001 From: Nick White Date: Mon, 4 Feb 2013 00:11:35 +0000 Subject: Add debian packaging rules to main makefile --- Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1d0f965..4804a45 100644 --- a/Makefile +++ b/Makefile @@ -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 '' >> $@ -.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 -- cgit v1.2.3