* Include version number in manual.

This commit is contained in:
Eelco Dolstra 2004-01-08 10:45:23 +00:00
parent 7959354379
commit 5346536b62
3 changed files with 12 additions and 4 deletions

View file

@ -11,10 +11,13 @@ SOURCES = manual.xml introduction.xml installation.xml overview.xml \
troubleshooting.xml bugs.xml \ troubleshooting.xml bugs.xml \
style.css images style.css images
manual.is-valid: $(SOURCES) manual.is-valid: $(SOURCES) version.xml
$(XMLLINT) --noout --valid manual.xml $(XMLLINT) --noout --valid manual.xml
touch $@ touch $@
version.xml:
echo -n $(VERSION) > version.xml
man1_MANS = nix-store.1 nix-instantiate.1 man1_MANS = nix-store.1 nix-instantiate.1
man $(MANS): $(SOURCES) manual.is-valid man $(MANS): $(SOURCES) manual.is-valid
@ -38,6 +41,8 @@ images:
cp $(docbookxsl)/images/callouts/*.png images/callouts cp $(docbookxsl)/images/callouts/*.png images/callouts
chmod +w -R images chmod +w -R images
EXTRA_DIST = $(SOURCES) manual.html manual.is-valid $(MANS) KEEP = manual.html manual.is-valid version.xml $(MANS)
DISTCLEANFILES = manual.html manual.is-valid $(MANS) EXTRA_DIST = $(SOURCES) $(KEEP)
DISTCLEANFILES = $(KEEP)

View file

@ -2,7 +2,7 @@
<title>Introduction</title> <title>Introduction</title>
<epigraph> <epigraph>
<para><quote>The number of Nix installations in the world has grown to 4, <para><quote>The number of Nix installations in the world has grown to 5,
with more expected.</quote></para> with more expected.</quote></para>
</epigraph> </epigraph>

View file

@ -11,11 +11,14 @@
<!ENTITY nix-instantiate SYSTEM "nix-instantiate.xml"> <!ENTITY nix-instantiate SYSTEM "nix-instantiate.xml">
<!ENTITY troubleshooting SYSTEM "troubleshooting.xml"> <!ENTITY troubleshooting SYSTEM "troubleshooting.xml">
<!ENTITY bugs SYSTEM "bugs.xml"> <!ENTITY bugs SYSTEM "bugs.xml">
<!ENTITY version SYSTEM "version.xml">
]> ]>
<book> <book>
<title>Nix: A System for Software Deployment</title> <title>Nix: A System for Software Deployment</title>
<subtitle>Draft (Version &version;)</subtitle>
<bookinfo> <bookinfo>
<author> <author>
<firstname>Eelco</firstname> <firstname>Eelco</firstname>