From: Brandon Philips Date: Fri, 25 Mar 2011 21:43:44 +0000 (-0700) Subject: doc: add pdf targets X-Git-Tag: v2.6.39~13^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27b3f524443ec617b125fcecb36ad1bc25268b72;p=thirdparty%2Fiproute2.git doc: add pdf targets Hello Stephen- Here is one more patch that SUSE has been carrying. Cheers, Brandon --- diff --git a/doc/Makefile b/doc/Makefile index 84836a28b..1df608134 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -15,6 +15,7 @@ PAGESPERPAGE=2 HTMLFILES=$(subst .sgml,.html,$(shell echo *.sgml)) DVIFILES=$(subst .ps,.dvi,$(PSFILES)) +PDFFILES=$(subst .ps,.pdf,$(PSFILES)) all: pstwocol @@ -25,6 +26,8 @@ html: $(HTMLFILES) dvi: $(DVIFILES) +pdf: $(PDFFILES) + print: $(PSFILES) $(LPR) $(PSFILES) @@ -41,6 +44,11 @@ print: $(PSFILES) echo "Re-running LaTeX $<, $${pass}d pass"; pass=$$[$$pass + 1]; \ done +#%.pdf: %.tex +# pdflatex $< +%.pdf: %.ps + ps2pdf $< + %.ps: %.dvi $(DVIPS) $< -o $@