summaryrefslogtreecommitdiff
path: root/admin
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2013-03-13 21:59:13 -0700
committerGlenn Morris <rgm@gnu.org>2013-03-13 21:59:13 -0700
commit206580428516ca7b21d438b5ae4618e4c8b49ac8 (patch)
tree6aa4271078cf45f2d5d127a60a6fb5106fed5650 /admin
parentc8cefd6a819caa8ad4d863c135a92abc3d33b791 (diff)
downloademacs-206580428516ca7b21d438b5ae4618e4c8b49ac8.tar.gz
* admin/admin.el (manual-pdf, manual-dvi): Pass -I to texi2pdf, texi2dvi.
Diffstat (limited to 'admin')
-rw-r--r--admin/ChangeLog4
-rw-r--r--admin/admin.el14
2 files changed, 16 insertions, 2 deletions
diff --git a/admin/ChangeLog b/admin/ChangeLog
index bf37688c337..e0573318187 100644
--- a/admin/ChangeLog
+++ b/admin/ChangeLog
@@ -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.
diff --git a/admin/admin.el b/admin/admin.el
index ea08c0d1c74..1ae3148ffd3 100644
--- a/admin/admin.el
+++ b/admin/admin.el
@@ -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))