diff options
author | Nick White <git@njw.me.uk> | 2012-02-09 18:25:36 +0000 |
---|---|---|
committer | Nick White <git@njw.me.uk> | 2012-02-09 18:25:36 +0000 |
commit | b3c4a23bfef4e61b9480fd4640b23cde4a1f931a (patch) | |
tree | 3957cb99c55a963afcca590a87d78adcd3084e72 | |
parent | 2db410043f4cf1e88f8db20e80ddbfd180ed8543 (diff) |
Remove crappy deb rule; checkinstall can be better used for such things
-rw-r--r-- | Makefile | 23 | ||||
-rw-r--r-- | TODO | 2 |
2 files changed, 3 insertions, 22 deletions
@@ -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 '</body></html>' >> $@ -.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 @@ -1,4 +1,4 @@ -before 1.0: fix http bugs, package for osx & windows +before 1.0: fix http bug, package for osx # other todos |