aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/info/mds.texinfo23
-rw-r--r--mk/build-doc.mk3
2 files changed, 25 insertions, 1 deletions
diff --git a/doc/info/mds.texinfo b/doc/info/mds.texinfo
index 89ad3c4..d643f0a 100644
--- a/doc/info/mds.texinfo
+++ b/doc/info/mds.texinfo
@@ -29,7 +29,8 @@
@end direntry
-@c TODO indicies
+@defindex op
+
@ifclear HARDCOPY
@@ -106,6 +107,10 @@ Texts. A copy of the license is included in the section entitled
* Discussion:: Discussion on display server-architecture.
* GNU General Public License:: Copying and sharing @command{mds}.
* GNU Free Documentation License:: Copying and sharing this manual.
+* Program index:: Index of servers, clients and utilities.
+* Variable index:: Index of environment variables.
+* Option index:: Index of command line options.
+* Concept index:: Index of concepts.
@end menu
@c TODO @detailmenu
@@ -9098,6 +9103,22 @@ backgrund.
@appendix GNU Free Documentation License
@include fdl.texinfo
+@node Program index
+@appendix Program index
+@printindex pg
+
+@node Variable index
+@appendix Variable index
+@printindex vr
+
+@node Option index
+@appendix Option index
+@printindex op
+
+@node Concept index
+@appendix Concept index
+@printindex cp
+
@bye
diff --git a/mk/build-doc.mk b/mk/build-doc.mk
index ad98d46..613d2cc 100644
--- a/mk/build-doc.mk
+++ b/mk/build-doc.mk
@@ -36,16 +36,19 @@ bin/%.info bin/%.info-1 bin/%.info-2: doc/info/%.texinfo doc/info/*.texinfo
mv $*.info $*.info-* bin
bin/%.pdf: doc/info/%.texinfo doc/info/*.texinfo # obj/logo.pdf
+ @! test -d obj/pdf || rm -rf obj/pdf
@mkdir -p obj/pdf bin
cd obj/pdf && yes X | texi2pdf $(TEXIFLAGS) ../../$<
mv obj/pdf/$*.pdf $@
bin/%.dvi: doc/info/%.texinfo doc/info/*.texinfo # obj/logo.eps
+ @! test -d obj/dvi || rm -rf obj/dvi
@mkdir -p obj/dvi bin
cd obj/dvi && yes X | $(TEXI2DVI) $(TEXIFLAGS) ../../$<
mv obj/dvi/$*.dvi $@
bin/%.ps: doc/info/%.texinfo doc/info/*.texinfo # obj/logo.eps
+ @! test -d obj/ps || rm -rf obj/ps
@mkdir -p obj/ps bin
cd obj/ps && yes X | texi2pdf $(TEXIFLAGS) --ps ../../$<
mv obj/ps/$*.ps $@