Build/delete PDF files
authorKen Raeburn <raeburn@mit.edu>
Fri, 4 Mar 2005 02:01:55 +0000 (02:01 +0000)
committerKen Raeburn <raeburn@mit.edu>
Fri, 4 Mar 2005 02:01:55 +0000 (02:01 +0000)
* Makefile (PSPDF): New variable.
(admin-guide.pdf, install-guide.pdf): New targets.
(clean-final): Delete PDF files.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17112 dc483132-0cff-0310-8789-dd5450dbe970

doc/ChangeLog
doc/Makefile

index c193325d7d6a375129ae6b798f8047de4c6d3a3c..ed39092279699a7e5d5409f259669a591477bc1f 100644 (file)
@@ -1,3 +1,9 @@
+2005-03-03  Ken Raeburn  <raeburn@mit.edu>
+
+       * Makefile (PSPDF): New variable.
+       (admin-guide.pdf, install-guide.pdf): New targets.
+       (clean-final): Delete PDF files.
+
 2005-02-11  Tom Yu  <tlyu@mit.edu>
 
        * kadm5/api-unit-test.tex (ovsec_kadm_init): Update to reflect
index 6e26a5edd483d9f8714a2efb57eb51b0f5087ef3..7cdeb59be80281410b54477384aa1981af93bf83 100644 (file)
@@ -1,6 +1,7 @@
 SRCDIR=../src
 DVI=texi2dvi
 DVIPS=dvips -o "$@"
+PSPDF=ps2pdf
 INFO=makeinfo
 HTML=makeinfo --html
 RM=rm -f
@@ -41,6 +42,9 @@ admin-guide.ps: $(ADMIN_DEPS)
        $(DVI) admin.texinfo
        $(DVIPS) admin
 
+admin-guide.pdf: admin-guide.ps
+       $(PSPDF) admin-guide.ps admin-guide.pdf
+
 .PHONY: admin-guide-html
 admin-guide-html:: admin.html
 
@@ -63,6 +67,9 @@ install-guide.ps: $(INSTALL_DEPS)
        $(DVI) install.texinfo
        $(DVIPS) install
 
+install-guide.pdf: install-guide.ps
+       $(PSPDF) install-guide.ps install-guide.pdf
+
 .PHONY: install-guide-html
 install-guide-html:: install.html
 
@@ -138,7 +145,7 @@ clean-all:: clean-tex clean-backup clean-final clean-tarfiles
 
 .PHONY: clean-final
 clean-final::
-       $(RM) *.ps *.info *.info-? *.html
+       $(RM) *.ps *.info *.info-? *.html *.pdf
 
 .PHONY: clean-tex
 clean-tex::