[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[6025] offer targets to build texindex as pdf/html
From: |
karl |
Subject: |
[6025] offer targets to build texindex as pdf/html |
Date: |
Thu, 08 Jan 2015 00:02:04 +0000 |
Revision: 6025
http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=6025
Author: karl
Date: 2015-01-08 00:02:03 +0000 (Thu, 08 Jan 2015)
Log Message:
-----------
offer targets to build texindex as pdf/html
Modified Paths:
--------------
trunk/ChangeLog
trunk/texindex/Makefile.am
Property Changed:
----------------
trunk/texindex/
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2015-01-07 17:08:35 UTC (rev 6024)
+++ trunk/ChangeLog 2015-01-08 00:02:03 UTC (rev 6025)
@@ -1,5 +1,8 @@
2015-01-07 Karl Berry <address@hidden>
+ * texindex/Makefile.am (ti.pdf, ti.html): new targets,
+ for the literate program. (Only invoked by hand.)
+
* tp/texi2any.pl: hardwire program name in --version,
derive name from $0 in --help, to match behavior of coding
standards and coreutils, etc.
Property changes on: trunk/texindex
___________________________________________________________________
Modified: svn:ignore
- texindex.awk
texindex.awk.in
ti.pdf
ti.t2p
ti.texi
texindex.html
texindex.info
Makefile
Makefile.in
texindex
+ texindex.awk
texindex.awk.in
ti.pdf
ti.t2p
ti.texi
texindex.html
texindex.info
Makefile
Makefile.in
texindex
ti.t2d
Modified: trunk/texindex/Makefile.am
===================================================================
--- trunk/texindex/Makefile.am 2015-01-07 17:08:35 UTC (rev 6024)
+++ trunk/texindex/Makefile.am 2015-01-08 00:02:03 UTC (rev 6025)
@@ -47,13 +47,23 @@
# build the texindex shell wrapper from texindex.in, following automake.
texindex: texindex.in Makefile
- $(do_subst) < $(srcdir)/texindex.in > texindex
+ $(do_subst) <$(srcdir)/texindex.in >texindex
chmod +x texindex
# build texindex.awk from ti.twjr using jrtangle.
texindex.awk: ti.twjr
- $(AWK) -f $(srcdir)/jrtangle $(srcdir)/ti.twjr > texindex.awk \
+ $(AWK) -f $(srcdir)/jrtangle $(srcdir)/ti.twjr >texindex.awk \
|| rm -f texindex.awk
+# how to build the pdf of the program-as-document.
+ti.pdf: ti.texi
+ texi2pdf --tidy ti.texi
+
+ti.html: ti.texi
+ makeinfo --no-split --html ti.texi
+
+ti.texi: ti.twjr
+ $(AWK) -f $(srcdir)/jrweave $(srcdir)/ti.twjr >ti.texi || rm -f $@
+
# just a fun cartoon used in the literate document.
EXTRA_DIST += donald_knuth.png
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [6025] offer targets to build texindex as pdf/html,
karl <=