automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fwd: --add-missing]


From: Derek R. Price
Subject: Re: [Fwd: --add-missing]
Date: Tue, 26 Dec 2000 11:56:18 -0500

Tom Tromey wrote:

> I wouldn't be averse to adding a `pdf' target so that `make pdf' works
> as expected.  Someone else would have to write it though since I don't
> know how.

It should be the exact target used for DVI except for the addition of a
'--pdf' switch to the texi2dvi command line.  I'm using the following,
stripped directly from my Automake generated Makefile.in's DVI targets,
but I didn't research enough to know if any of the constituent elements
(TEXINPUTS, MAKEINFO, makeinfo includes) vary with Makefile.am
parameters:

SUFFIXES = .aux .txt .pdf
# texinfo based targets automake neglects to include
.texinfo.pdf:
        TEXINPUTS=$(srcdir):$$TEXINPUTS \
          MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) --pdf $<
.txi.pdf:
        TEXINPUTS=$(srcdir):$$TEXINPUTS \
          MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) --pdf $<
.texi.pdf:
        TEXINPUTS=$(srcdir):$$TEXINPUTS \
          MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) --pdf $<

By the way, there may not be much demand for it any longer, but we have
legacy targets to generate ASCII versions of our manuals as well.  I'm
told they ocassionally came in handy for mailing:

.texinfo.txt:
        TEXINPUTS=$(srcdir):$$TEXINPUTS \
          MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(MAKEINFO) $< --no-headers
-o $@
.txi.txt:
        TEXINPUTS=$(srcdir):$$TEXINPUTS \
          MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(MAKEINFO) $< --no-headers
-o $@
.texi.txt:
        TEXINPUTS=$(srcdir):$$TEXINPUTS \
          MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(MAKEINFO) $< --no-headers
-o $@

Derek

--
Derek Price                      CVS Solutions Architect ( http://CVSHome.org )
mailto:address@hidden     OpenAvenue ( http://OpenAvenue.com )
--
This is the fourth?
                        - Thomas Jefferson's last words
                            (he died on the 4th of July)






reply via email to

[Prev in Thread] Current Thread [Next in Thread]