Commit e8021280 authored by Niels Möller's avatar Niels Möller
Browse files

* (.texinfo.pdf): New rule. Avoid dependency on

intermediate .dvi and .ps files.

Rev: src/nettle/
parent 1d30fc92
......@@ -176,18 +176,20 @@ des.$(OBJEXT): des.c des.h $(des_headers)
cd $(srcdir) && $(MAKEINFO) --html --no-split \
--output $@T `basename $<` \
--output $@T `basename "$<"` \
&& test -s $@T && mv -f $@T $@
cd $(srcdir) && texi2dvi `basename $<`
cd $(srcdir) && texi2dvi `basename "$<"`
cd $(srcdir) && dvips -Ppdf -G0 -o `basename $< .dvi`.ps `basename $<`
# Avoid rebuilding .dvi and .ps files when the .texinfo source is unchanged.
PS2PDFFLAGS=-dCompatibilityLevel=1.3 -dMAxSubsetPct=100 -dSubsetFonts=true -dEmbedAllFonts=true
cd $(srcdir) && ps2pdf $(PS2PDFFLAGS) `basename $<`
$(MAKE) `basename "$<" .texinfo`.ps
cd $(srcdir) && ps2pdf $(PS2PDFFLAGS) `basename "$<" .texinfo`.ps
# Configure-related rules, mostly copied from the autoconf manual. No
# $(srcdir) prefixes on the targets, though.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment