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 84836a2..1df6081 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -15,6 +15,7 @@
HTMLFILES=$(subst .sgml,.html,$(shell echo *.sgml))
DVIFILES=$(subst .ps,.dvi,$(PSFILES))
+PDFFILES=$(subst .ps,.pdf,$(PSFILES))
all: pstwocol
@@ -25,6 +26,8 @@
dvi: $(DVIFILES)
+pdf: $(PDFFILES)
+
print: $(PSFILES)
$(LPR) $(PSFILES)
@@ -41,6 +44,11 @@
echo "Re-running LaTeX $<, $${pass}d pass"; pass=$$[$$pass + 1]; \
done
+#%.pdf: %.tex
+# pdflatex $<
+%.pdf: %.ps
+ ps2pdf $<
+
%.ps: %.dvi
$(DVIPS) $< -o $@