doc: Use texi2pdf instead of pdftex.
authorBen Pfaff <blp@cs.stanford.edu>
Tue, 26 Apr 2016 15:32:19 +0000 (08:32 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Tue, 26 Apr 2016 15:32:19 +0000 (08:32 -0700)
This automatically reruns pdftex if necessary, to make sure that references
are correct.

Reported by David Eck <eck@hws.edu>.

doc/Makefile

index 0a01cc3ac8a26e27d0e94b895409716adb73d3dc..95dd71bdf0e6c5a0dfed6a06f0c6bdd60228df2a 100644 (file)
@@ -21,7 +21,7 @@ pintos.ps: pintos.dvi
        dvips $< -o $@
 
 pintos.pdf: $(TEXIS)
-       pdftex $< -o $@
+       texi2pdf $< -o $@
 
 %.texi: %
        sed < $< > $@ 's/\([{}@]\)/\@\1/g;'