* Fix man page.

This commit is contained in:
Eelco Dolstra 2003-08-14 11:27:02 +00:00
parent 5cde23f869
commit 2e16ff22ac
3 changed files with 42 additions and 3 deletions

View file

@ -10,9 +10,9 @@ book.is-valid: $(SOURCES)
nsgmls -wxml -c $(XML) -c $(DOCBOOK_DTD)/docbook.cat -ges $< nsgmls -wxml -c $(XML) -c $(DOCBOOK_DTD)/docbook.cat -ges $<
touch $@ touch $@
man1_MANS = nix.1 man1_MANS = nix.1 fix.1
man nix.1: $(SOURCES) book.is-valid man nix.1 fix.1: $(SOURCES) book.is-valid
xsltproc $(DOCBOOK_XSL)/manpages/docbook.xsl book.xml xsltproc $(DOCBOOK_XSL)/manpages/docbook.xsl book.xml
book.html: $(SOURCES) book.is-valid book.html: $(SOURCES) book.is-valid
@ -24,4 +24,4 @@ install-data-local: book.html
$(INSTALL) -d $(datadir)/nix/manual $(INSTALL) -d $(datadir)/nix/manual
$(INSTALL_DATA) book.html $(datadir)/nix/manual $(INSTALL_DATA) book.html $(datadir)/nix/manual
EXTRA_DIST = $(SOURCES) book.html nix.1 book.is-valid EXTRA_DIST = $(SOURCES) book.html nix.1 fix.1 book.is-valid

View file

@ -4,6 +4,7 @@
<!ENTITY introduction SYSTEM "introduction.xml"> <!ENTITY introduction SYSTEM "introduction.xml">
<!ENTITY installation SYSTEM "installation.xml"> <!ENTITY installation SYSTEM "installation.xml">
<!ENTITY nix-reference SYSTEM "nix-reference.xml"> <!ENTITY nix-reference SYSTEM "nix-reference.xml">
<!ENTITY fix-reference SYSTEM "fix-reference.xml">
<!ENTITY troubleshooting SYSTEM "troubleshooting.xml"> <!ENTITY troubleshooting SYSTEM "troubleshooting.xml">
<!ENTITY bugs SYSTEM "bugs.xml"> <!ENTITY bugs SYSTEM "bugs.xml">
]> ]>
@ -52,6 +53,7 @@
<appendix> <appendix>
<title>Command Reference</title> <title>Command Reference</title>
&nix-reference; &nix-reference;
&fix-reference;
</appendix> </appendix>
&troubleshooting; &troubleshooting;

View file

@ -0,0 +1,37 @@
<refentry>
<refnamediv>
<refname>fix</refname>
<refpurpose>generate Nix expressions from a high-level description</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
<command>fix</command>
<group choice='opt' rep='repeat'>
<arg><option>--verbose</option></arg>
<arg><option>-v</option></arg>
</group>
<arg rep='repeat'><replaceable>files</replaceable></arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1>
<title>Description</title>
<para>
The command <command>fix</command> generates Nix expressions from
expressions is Fix's own high-level language. While Nix expressions are
very primitive and not intended to be written directly, Fix expressions
are quite easy to write.
</para>
</refsect1>
</refentry>
<!--
local variables:
sgml-parent-document: ("book.xml" "refentry")
end:
-->