summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWerner LEMBERG <wl@gnu.org>2012-12-28 15:29:05 +0000
committerWerner LEMBERG <wl@gnu.org>2012-12-28 15:29:05 +0000
commitf66698d82a5fec13222262c5f0d9307bcb13eb82 (patch)
tree2a5cd2b68be511dabb4e0779a1863445b63fd73b
parentcde54df457fd45481d44fd4b3e2b6137b6c339dc (diff)
downloadgroff-git-f66698d82a5fec13222262c5f0d9307bcb13eb82.tar.gz
[doc] More documentation generation rules.
* doc/Makefile.in (.texinfo.txt): New rule. (.texinfo.html): Use `LANG='. (split-html): New target.
-rw-r--r--ChangeLog8
-rw-r--r--doc/Makefile.in10
2 files changed, 17 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 664a79ac1..ed472291f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2012-12-28 Werner LEMBERG <wl@gnu.org>
+ [doc] More documentation generation rules.
+
+ * doc/Makefile.in (.texinfo.txt): New rule.
+ (.texinfo.html): Use `LANG='.
+ (split-html): New target.
+
+2012-12-28 Werner LEMBERG <wl@gnu.org>
+
* doc/fixinfo.sh: Make it work with makinfo 4.13 also.
2012-12-28 Werner LEMBERG <wl@gnu.org>
diff --git a/doc/Makefile.in b/doc/Makefile.in
index 420db8498..1fb923d4f 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