From: Eric S. Raymond Date: Thu, 14 Apr 2005 14:43:17 +0000 (+0000) Subject: Just a rename. X-Git-Tag: 2.0~314 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=5266b3b1bdcdd49f04fe5dae3f01b609e8b7f01e;p=super-star-trek.git Just a rename. --- diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..5865d6b --- /dev/null +++ b/Makefile @@ -0,0 +1,77 @@ +# Makefile for the Super Star Trek game + +VERSION=$(shell sed sst.doc + +sst-doc.html: sst-doc.xml + xmlto xhtml-nochunks sst-doc.xml + +install: uninstall sst.6 sst.doc sst-doc.html + install -m 755 -o 0 -g 0 -d $(ROOT)/usr/bin/ + install -m 755 -o 0 -g 0 sst $(ROOT)/usr/bin/sst + install -m 755 -o 0 -g 0 -d $(ROOT)/usr/share/man/man6/ + install -m 755 -o 0 -g 0 sst.6 $(ROOT)/usr/share/man/man6/sst.6 + mkdir -p /usr/share/doc/sst/ + install -m 644 -o 0 -g 0 sst.doc $(ROOT)/usr/share/doc/sst/ + install -m 644 -o 0 -g 0 sst-doc.html $(ROOT)/usr/share/doc/sst/index.html + +uninstall: + rm -f ${ROOT}/usr/bin/sst ${ROOT}/usr/share/man/man6/sst.6 + rm -fr ${ROOT}/usr/share/doc/sst/ + +clean: + rm -f *.o sst sst-doc.html sst-doc.txt sst.doc + +# The "trunk" below assumes this is a Subversion working copy +sst-$(VERSION).tar.gz: $(SOURCES) sst.6 + ls $(SOURCES) sst.6 | sed s:^:sst-$(VERSION)/: >MANIFEST + (cd ..; ln -s trunk sst-$(VERSION)) + (cd ..; tar -czvf trunk/sst-$(VERSION).tar.gz `cat trunk/MANIFEST`) + (cd ..; rm sst-$(VERSION)) + +dist: sst-$(VERSION).tar.gz + +release: sst-$(VERSION).tar.gz sst.html + shipper; rm -f CHANGES ANNOUNCE* *.6 *.html *.rpm *.lsm MANIFEST + +version: + @echo $(VERSION) diff --git a/makefile b/makefile deleted file mode 100644 index 5865d6b..0000000 --- a/makefile +++ /dev/null @@ -1,77 +0,0 @@ -# Makefile for the Super Star Trek game - -VERSION=$(shell sed sst.doc - -sst-doc.html: sst-doc.xml - xmlto xhtml-nochunks sst-doc.xml - -install: uninstall sst.6 sst.doc sst-doc.html - install -m 755 -o 0 -g 0 -d $(ROOT)/usr/bin/ - install -m 755 -o 0 -g 0 sst $(ROOT)/usr/bin/sst - install -m 755 -o 0 -g 0 -d $(ROOT)/usr/share/man/man6/ - install -m 755 -o 0 -g 0 sst.6 $(ROOT)/usr/share/man/man6/sst.6 - mkdir -p /usr/share/doc/sst/ - install -m 644 -o 0 -g 0 sst.doc $(ROOT)/usr/share/doc/sst/ - install -m 644 -o 0 -g 0 sst-doc.html $(ROOT)/usr/share/doc/sst/index.html - -uninstall: - rm -f ${ROOT}/usr/bin/sst ${ROOT}/usr/share/man/man6/sst.6 - rm -fr ${ROOT}/usr/share/doc/sst/ - -clean: - rm -f *.o sst sst-doc.html sst-doc.txt sst.doc - -# The "trunk" below assumes this is a Subversion working copy -sst-$(VERSION).tar.gz: $(SOURCES) sst.6 - ls $(SOURCES) sst.6 | sed s:^:sst-$(VERSION)/: >MANIFEST - (cd ..; ln -s trunk sst-$(VERSION)) - (cd ..; tar -czvf trunk/sst-$(VERSION).tar.gz `cat trunk/MANIFEST`) - (cd ..; rm sst-$(VERSION)) - -dist: sst-$(VERSION).tar.gz - -release: sst-$(VERSION).tar.gz sst.html - shipper; rm -f CHANGES ANNOUNCE* *.6 *.html *.rpm *.lsm MANIFEST - -version: - @echo $(VERSION)