]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
doc: add pdf targets
authorBrandon Philips <bphilips@suse.de>
Fri, 25 Mar 2011 21:43:44 +0000 (14:43 -0700)
committerStephen Hemminger <shemminger@vyatta.com>
Tue, 12 Apr 2011 21:28:04 +0000 (14:28 -0700)
Hello Stephen-

Here is one more patch that SUSE has been carrying.

Cheers, Brandon

doc/Makefile

index 84836a28b5f7a360ba66c69d3bfff652d90487a7..1df608134552f1c52559646376ce237dda760e66 100644 (file)
@@ -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 $@