## Process this file with automake to generate a GNU Makefile info_TEXINFOS = qdoc.texi man_MANS = q.1 EXTRA_DIST = $(man_MANS) # additional rules to build the doc in html format (requires texi2html) html: qdoc.html # for texi2html 1.51 or earlier # qdoc.html: $(srcdir)/qdoc.texi # texi2html -monolithic -expandinfo -menu $(srcdir)/qdoc.texi # for x in qdoc*.html; do \ # sed -e 's/Graef/Gr\äf/g' -e 's/Gr@"af/Gr\äf/g' \ # -e 's/section $$x.t; \ # mv -f $$x.t $$x; \ # done # html-split: $(srcdir)/qdoc.texi # texi2html -split_chapter -expandinfo -menu $(srcdir)/qdoc.texi # for x in qdoc*.html; do \ # sed -e 's/Graef/Gr\äf/g' -e 's/Gr@"af/Gr\äf/g' \ # -e 's/section $$x.t; \ # mv -f $$x.t $$x; \ # done # texi2html 1.52 # html-split: $(srcdir)/qdoc.texi # texi2html -split_chapter -expandinfo -menu $(srcdir)/qdoc.texi # for x in qdoc*.html; do \ # sed -e 's/Graef/Gr\äf/g' -e 's/Gr@"af/Gr\äf/g' \ # -e 's///g' <$$x >$$x.t; \ # mv -f $$x.t $$x; \ # done # for recent texi2html versions qdoc.html: $(srcdir)/qdoc.texi texi2html -monolithic -expandinfo -menu $(srcdir)/qdoc.texi for x in qdoc*.html; do \ sed -e 's/Graef/Gr\äf/g' -e 's/Gr@"af/Gr\äf/g' \ -e 's///g' <$$x >$$x.t; \ mv -f $$x.t $$x; \ done html-split: $(srcdir)/qdoc.texi texi2html -split_chapter -expandinfo -menu $(srcdir)/qdoc.texi for x in qdoc/qdoc*.html; do \ sed -e 's/Graef/Gr\äf/g' -e 's/Gr@"af/Gr\äf/g' \ -e 's///g' <$$x >$$x.t; \ mv -f $$x.t $$x; \ done # use this if you want the manpage in html format htmlman: qman.html qman.html: $(srcdir)/q.1 rman -f HTML -r off -K $(srcdir)/q.1 > qman.html CLEANFILES = *.html