summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorwl <wl>2012-12-28 15:29:00 +0000
committerwl <wl>2012-12-28 15:29:00 +0000
commit5dfe522eb868ce2ac33cf162a189bcb196dda64c (patch)
treee08a5b7b9971b6ba5922603a925b857db7abcdc5 /doc
parent0dd255dd53a8f229b877bf193474eec7d7d4e9b4 (diff)
downloadgroff-5dfe522eb868ce2ac33cf162a189bcb196dda64c.tar.gz
[doc] More documentation generation rules.
* doc/Makefile.in (.texinfo.txt): New rule. (.texinfo.html): Use `LANG='. (split-html): New target.
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile.in10
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/Makefile.in b/doc/Makefile.in
index 420db849..1fb923d4 100644
--- a/doc/Makefile.in
+++ b/doc/Makefile.in
@@ -98,12 +98,14 @@ imagedir=img
.ms.ps:
$(GROFF) -Tps -ms -mwww >$@
+.texinfo.txt:
+ LANG= $(MAKEINFO) --enable-encoding -I$(srcdir) --plaintext -o $@ $<
.texinfo.dvi:
MAKEINFO=$(MAKEINFO) $(TEXI2DVI) -e $<
.texinfo.pdf:
MAKEINFO=$(MAKEINFO) $(TEXI2DVI) -e --pdf $<
.texinfo.html:
- $(MAKEINFO) --enable-encoding -I$(srcdir) --html --no-split $< \
+ LANG= $(MAKEINFO) --enable-encoding -I$(srcdir) --html --no-split $< \
&& $(SHELL) $(srcdir)/fixinfo.sh $@
@@ -133,6 +135,12 @@ webpage.ps: gnu.eps
grnexmpl.ps: grnexmpl.me grnexmpl.g
+split-html:
+ LANG= $(MAKEINFO) --enable-encoding -I$(srcdir) --html groff.texinfo \
+ && for f in groff/*; do \
+ $(SHELL) $(srcdir)/fixinfo.sh $$f; \
+ done
+
clean:
-rm -f *.ps *.html *.txt core