From b3c4a23bfef4e61b9480fd4640b23cde4a1f931a Mon Sep 17 00:00:00 2001 From: Nick White Date: Thu, 9 Feb 2012 18:25:36 +0000 Subject: Remove crappy deb rule; checkinstall can be better used for such things --- Makefile | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b2c3979..9e28e38 100644 --- a/Makefile +++ b/Makefile @@ -54,25 +54,6 @@ dist: rm -rf $(NAME)-$(VERSION) echo $(NAME)-$(VERSION).tar.bz2 $(NAME)-$(VERSION).tar.bz2.sig -# quick and dirty; a real debian dev should create a real .deb -dist-deb: - mkdir -p deb - cp config.mk config.mk.orig - sed 's/^PREFIX =.*/PREFIX = deb\/usr/g' < config.mk.orig > config.mk - make install - mv config.mk.orig config.mk - cp $(EXTRAS) deb/usr/bin/ - chmod +x deb/usr/bin/* - mkdir -p deb/usr/share/doc/$(NAME) - cp $(DOC) deb/usr/share/doc/$(NAME) - mv deb/usr/share/doc/$(NAME)/COPYING deb/usr/share/doc/$(NAME)/copyright - mkdir -p deb/DEBIAN - printf "Package: %s\nVersion: %s-1\nArchitecture: i386\nDepends: libc6, tcl, tk\n" "$(NAME)" "$(VERSION)" > deb/DEBIAN/control - fakeroot dpkg-deb --build deb - mv deb.deb $(NAME)_$(VERSION)-1_i386.deb - rm -rf deb - echo $(NAME)_$(VERSION)-1_i386.deb - getxbookgui.exe: getxbookgui.tcl @echo STARPACK $@ @sdx qwrap getxbookgui.tcl @@ -129,5 +110,5 @@ index.html: doap.ttl README sh websummary.sh doap.ttl | smu >> $@ echo '' >> $@ -.PHONY: all clean install uninstall dist dist-deb dist-win dist-mac -.SILENT: index.html dist dist-deb +.PHONY: all clean install uninstall dist dist-win dist-mac +.SILENT: index.html dist -- cgit v1.2.3