1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/devel/doxygen/files/patch-doc-Makefile.latex
Mikhail Teterin 406cd74100 Upgrade from 1.4.6 to 1.4.7. LIB_DEPEND on png and use the standard -lmd
instead of building our own versions.

The bundled qtools/ can be removed too, but that will make the port
always depend on Qt (hence X11), which it currently avoids.

Approved by:	maintainer timeout (13 days)
2006-06-27 04:35:57 +00:00

35 lines
990 B
Plaintext

--- doc/Makefile.latex Sun May 7 14:06:16 2006
+++ doc/Makefile.latex Sun Jun 11 20:27:05 2006
@@ -13,13 +13,27 @@
# input used in their production; they are not affected by this license.
-all: doxygen_manual.pdf
+all: doxygen_manual.pdf doxygen_manual.ps
doxygen_manual.pdf: doxygen_manual.tex doxygen.sty
- echo "Running latex..."
+ @echo "Running latex..."
pdflatex doxygen_manual.tex
- echo "Running makeindex..."
+ @echo "Running makeindex..."
makeindex doxygen_manual.idx
- echo "Rerunning latex...."
+ @echo "Rerunning latex...."
pdflatex doxygen_manual.tex
+
+graphics:
+ ln -s ../doc/doxygen_logo.eps .
+ ln -s ../doc/doxygen_logo.gif .
+
+doxygen_manual.dvi: doxygen_manual.pdf graphics
+ @echo "Running latex again to get a .dvi file..."
+ latex doxygen_manual.tex
+
+doxygen_manual.ps: doxygen_manual.dvi
+ dvips -o doxygen_manual.ps doxygen_manual.dvi
+
clean:
rm -f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log doxygen_manual.pdf
+
+.PHONY: graphics