]> git.eshelyaron.com Git - emacs.git/commitdiff
* admin/admin.el (manual-pdf, manual-dvi): Pass -I to texi2pdf, texi2dvi.
authorGlenn Morris <rgm@gnu.org>
Thu, 14 Mar 2013 04:59:13 +0000 (21:59 -0700)
committerGlenn Morris <rgm@gnu.org>
Thu, 14 Mar 2013 04:59:13 +0000 (21:59 -0700)
admin/ChangeLog
admin/admin.el

index bf37688c3370ce62674dfc77ce4120b6d2a0420a..e05733181870d7baa19c61b7115533b7aa58891d 100644 (file)
@@ -1,3 +1,7 @@
+2013-03-14  Glenn Morris  <rgm@gnu.org>
+
+       * admin.el (manual-pdf, manual-dvi): Pass -I to texi2pdf, texi2dvi.
+
 2013-03-12  Glenn Morris  <rgm@gnu.org>
 
        * admin.el (manual-html-mono, manual-html-node): Add -DWWW_GNU_ORG.
index ea08c0d1c74e127c42b66112fd1162e80a4ffb30..1ae3148ffd31a21af9a934b31281b4cf49169da0 100644 (file)
@@ -339,12 +339,22 @@ the @import directive."
 
 (defun manual-pdf (texi-file dest)
   "Run texi2pdf on TEXI-FILE, emitting plaintext output to DEST."
-  (call-process "texi2pdf" nil nil nil texi-file "-o" dest))
+  (call-process "texi2pdf" nil nil nil
+               "-I" (expand-file-name "../emacs"
+                                      (file-name-directory texi-file))
+               "-I" (expand-file-name "../misc"
+                                      (file-name-directory texi-file))
+               texi-file "-o" dest))
 
 (defun manual-dvi (texi-file dest ps-dest)
   "Run texi2dvi on TEXI-FILE, emitting dvi output to DEST.
 Also generate PostScript output in PS-DEST."
-  (call-process "texi2dvi" nil nil nil texi-file "-o" dest)
+  (call-process "texi2dvi" nil nil nil
+               "-I" (expand-file-name "../emacs"
+                                      (file-name-directory texi-file))
+               "-I" (expand-file-name "../misc"
+                                      (file-name-directory texi-file))
+               texi-file "-o" dest)
   (call-process "dvips" nil nil nil dest "-o" ps-dest)
   (call-process "gzip" nil nil nil dest)
   (call-process "gzip" nil nil nil ps-dest))