changeset 3377:edcff851229a octave-forge

fix dvipdf calls
author goffioul
date Thu, 24 May 2007 21:38:46 +0000
parents 27a6fffa3370
children 76ee5ca8c47a
files main/odepkg/doc/Makefile main/optim/doc/Makefile
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/main/odepkg/doc/Makefile	Thu May 24 21:03:59 2007 +0000
+++ b/main/odepkg/doc/Makefile	Thu May 24 21:38:46 2007 +0000
@@ -50,7 +50,7 @@
 %.pdf : %.dvi
 	@if test "x$(TEXI2DVI)" != "x" && test "x$(DVIPDF)" != "x"; then \
 	  echo "Making pdf $@"; \
-	  $(DVIPDF) $< $@ ; \
+	  $(DVIPDF) -o $@ $< ; \
 	fi
 
 %.info : %.texi
@@ -83,4 +83,4 @@
 .PHONY : distclean
 
 dist : all
-.PHONY : dist
\ No newline at end of file
+.PHONY : dist
--- a/main/optim/doc/Makefile	Thu May 24 21:03:59 2007 +0000
+++ b/main/optim/doc/Makefile	Thu May 24 21:38:46 2007 +0000
@@ -16,7 +16,7 @@
 %.pdf : %.tex
 	latex $< > /dev/null 2>&1
 	latex $< > /dev/null 2>&1
-	dvipdf $(@:.pdf=.dvi)
+	$(DVIPDF) $(@:.pdf=.dvi)
 
 # Note verbosity=0 as well as making latex2html quieter, has the side-effect
 # of not including a url to the raw text, which it'll get wrong