]> thyrsus.com Git - bluemoon.git/commitdiff
Convert to XML.
authorEric S. Raymond <esr@thyrsus.com>
Sun, 28 Jul 2002 10:34:17 +0000 (10:34 +0000)
committerEric S. Raymond <esr@thyrsus.com>
Sun, 28 Jul 2002 10:34:17 +0000 (10:34 +0000)
Makefile
README
blue.xml

index 580091a4d676cb632ab44c1016d2a2d87469238b..f9ffbae4749b5582c4f36deec76519de507641ab 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -11,18 +11,17 @@ CFLAGS=-O
 blue: blue.c
        cc $(CFLAGS) -DVERSION=\"$(V)\" blue.c -lncurses -o blue
 
-blue.6: blue.sgml
-       docbook2man blue.sgml
+blue.6: blue.xml
+       xmlto man blue.xml
 
-blue-$(V).tar.gz: $(SOURCES)
-       @ls $(SOURCES) | sed s:^:blue-$(V)/: >MANIFEST
+blue-$(V).tar.gz: $(SOURCES) blue.6
+       @ls $(SOURCES) blue.6 | 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))
 
 clean:
-       rm -f blue blue.tar blue*.gz blue*.rpm blue.shar *~
-       rm -f blue.6 manpage.links manpage.refs
+       rm -f blue blue.tar blue*.gz blue*.rpm blue.6 *~
 
 install: blue.6 uninstall
        cp blue /usr/bin
diff --git a/README b/README
index 7636efedb30bccb3ffbc82f6755a1cc873f3de70..0c5c11ad585d0002acd0d8e1ed453610fab185fd 100644 (file)
--- a/README
+++ b/README
@@ -3,7 +3,7 @@
 
 This simple game includes complete instructions on the game screen.  It needs
 to be linked with an SVr4-compatible curses.  For best results, use the
-freeware ncurses distributed with Linux.
+ncurses library distributed with Linux.
 
 READ.ME                -- this file
 Makefile       -- how to build it
index 0080b1688847eabd40e88e84a3ebed66e97ecb24..ae03c6fd091aabffbefd851599df34b382a7168d 100644 (file)
--- a/blue.xml
+++ b/blue.xml
@@ -1,4 +1,6 @@
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
+<!DOCTYPE refentry PUBLIC 
+   "-//OASIS//DTD DocBook XML V4.1.2//EN"
+   "docbook/docbookx.dtd">
 <refentry id='blue.6'>
 <refmeta>
 <refentrytitle>blue</refentrytitle>