From: Eric S. Raymond Date: Wed, 10 Jul 2002 22:26:34 +0000 (+0000) Subject: Documentation is now SGML. X-Git-Tag: 2-6~12 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=29b44c19d5ca945f01e7adcdf385a1f2dd995a88;p=bluemoon.git Documentation is now SGML. --- diff --git a/Makefile b/Makefile index a877443..2d73bf7 100644 --- a/Makefile +++ b/Makefile @@ -3,26 +3,32 @@ # Note: When the version changes, you also have to change # * the LSM file # * the RPM spec file -V=2.4 - -SOURCES = READ.ME Makefile blue.c blue.c.orig blue.6 blue.lsm *.spec +V=2.5 +SOURCES = READ.ME Makefile blue.c blue.c.orig blue.sgml blue.lsm *.spec CFLAGS=-O blue: blue.c cc $(CFLAGS) -DVERSION=\"$(V)\" blue.c -lncurses -o blue +blue.6: blue.sgml + docbook2man blue.sgml + blue-$(V).tar.gz: $(SOURCES) @ls $(SOURCES) | sed s:^:blue-$(V)/: >MANIFEST @(cd ..; ln -s blue blue-$(V)) (cd ..; tar -czvf blue/blue-$(V).tar.gz `cat blue/MANIFEST`) @(cd ..; rm blue-$(V)) -blue.shar: $(SOURCES) - shar $(SOURCES) >blue.shar - clean: - rm -f blue blue.tar blue*.gz blue*.rpm blue.shar *~ + rm -f blue blue.6 blue.tar blue*.gz blue*.rpm blue.shar *~ + +install: blue.6 uninstall + cp blue /usr/bin + cp blue.6 /usr/share/man/man6/blue.6 + +uninstall: + rm -f /usr/bin/blue /usr/share/man/man6/blue.6 dist: blue-$(V).tar.gz diff --git a/blue.xml b/blue.xml index 385ab1b..17a70b2 100644 --- a/blue.xml +++ b/blue.xml @@ -1,13 +1,13 @@ -BLUE +blue 6 Nov 31 1994 blue -Blue Moon +Blue Moon card solitaire @@ -42,8 +42,8 @@ poor. Originally written by Tim Lister. Visual user interface and color support by Eric S. Raymond <esr@snark.thyrsus.com>. The ncurses version was written in November 1994. See http://www.ccil.org/~esr/ -for updates, also other software and resources by ESR. +url='http://www.ccil.org/~esr/'>http://www.ccil.org/~esr/ for +updates, also other software and resources by ESR. diff --git a/bluemoon.spec b/bluemoon.spec index 3a3d129..133b21e 100644 --- a/bluemoon.spec +++ b/bluemoon.spec @@ -1,8 +1,8 @@ Name: blue Summary: Blue Moon solitaire (text mode) -Version: 2.4 +Version: 2.5 Release: 1 -Source: locke.ccil.org:/pub/esr/blue-2.4.tar.gz +Source: locke.ccil.org:/pub/esr/blue-2.5.tar.gz Copyright: BSD-like Group: Games %description @@ -25,10 +25,8 @@ deals. A good score is 1-3 deals, 4-7 is average, 8 or more is poor. make %install -rm -f /usr/bin/blue -cp blue /usr/bin -cp blue.6 /usr/man/man6/blue.6 +make install %files -/usr/man/man6/blue.6 +/usr/share/man/man6/blue.6 /usr/bin/blue