diff options
| author | Glenn Morris | 2013-07-05 09:10:47 -0700 |
|---|---|---|
| committer | Glenn Morris | 2013-07-05 09:10:47 -0700 |
| commit | f114e6c3ca0d5402e8996fc02977d9166b898e4d (patch) | |
| tree | dc3a4e0ff2b14c0fd91476243f845dd71cca68de /admin | |
| parent | c0747758896a1d0ca4fd9649277ff5adbdf757d7 (diff) | |
| download | emacs-f114e6c3ca0d5402e8996fc02977d9166b898e4d.tar.gz emacs-f114e6c3ca0d5402e8996fc02977d9166b898e4d.zip | |
* admin/admin.el (make-manuals): Use a pdf/ subdirectory for pdf versions.
Diffstat (limited to 'admin')
| -rw-r--r-- | admin/ChangeLog | 1 | ||||
| -rw-r--r-- | admin/admin.el | 10 |
2 files changed, 7 insertions, 4 deletions
diff --git a/admin/ChangeLog b/admin/ChangeLog index ccee52e6b88..4f7c90bccdf 100644 --- a/admin/ChangeLog +++ b/admin/ChangeLog | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | 2013-07-05 Glenn Morris <rgm@gnu.org> | 1 | 2013-07-05 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * admin.el (make-manuals): Use a standard location for lispintro. | 3 | * admin.el (make-manuals): Use a standard location for lispintro. |
| 4 | Use a pdf/ subdirectory for pdf versions. | ||
| 4 | 5 | ||
| 5 | 2013-06-29 Glenn Morris <rgm@gnu.org> | 6 | 2013-06-29 Glenn Morris <rgm@gnu.org> |
| 6 | 7 | ||
diff --git a/admin/admin.el b/admin/admin.el index f82897e1686..1f0e1b761d2 100644 --- a/admin/admin.el +++ b/admin/admin.el | |||
| @@ -199,7 +199,8 @@ Root must be the root of an Emacs source tree." | |||
| 199 | (let* ((dest (expand-file-name "manual" root)) | 199 | (let* ((dest (expand-file-name "manual" root)) |
| 200 | (html-node-dir (expand-file-name "html_node" dest)) | 200 | (html-node-dir (expand-file-name "html_node" dest)) |
| 201 | (html-mono-dir (expand-file-name "html_mono" dest)) | 201 | (html-mono-dir (expand-file-name "html_mono" dest)) |
| 202 | (ps-dir (expand-file-name "ps" dest))) | 202 | (ps-dir (expand-file-name "ps" dest)) |
| 203 | (pdf-dir (expand-file-name "pdf" dest))) | ||
| 203 | (when (file-directory-p dest) | 204 | (when (file-directory-p dest) |
| 204 | (if (y-or-n-p (format "Directory %s exists, delete it first?" dest)) | 205 | (if (y-or-n-p (format "Directory %s exists, delete it first?" dest)) |
| 205 | (delete-directory dest t) | 206 | (delete-directory dest t) |
| @@ -208,23 +209,24 @@ Root must be the root of an Emacs source tree." | |||
| 208 | (make-directory html-node-dir) | 209 | (make-directory html-node-dir) |
| 209 | (make-directory html-mono-dir) | 210 | (make-directory html-mono-dir) |
| 210 | (make-directory ps-dir) | 211 | (make-directory ps-dir) |
| 212 | (make-directory pdf-dir) | ||
| 211 | ;; Emacs manual | 213 | ;; Emacs manual |
| 212 | (let ((texi (expand-file-name "doc/emacs/emacs.texi" root))) | 214 | (let ((texi (expand-file-name "doc/emacs/emacs.texi" root))) |
| 213 | (manual-html-node texi (expand-file-name "emacs" html-node-dir)) | 215 | (manual-html-node texi (expand-file-name "emacs" html-node-dir)) |
| 214 | (manual-html-mono texi (expand-file-name "emacs.html" html-mono-dir)) | 216 | (manual-html-mono texi (expand-file-name "emacs.html" html-mono-dir)) |
| 215 | (manual-pdf texi (expand-file-name "emacs.pdf" dest)) | 217 | (manual-pdf texi (expand-file-name "emacs.pdf" pdf-dif)) |
| 216 | (manual-ps texi (expand-file-name "emacs.ps" ps-dir))) | 218 | (manual-ps texi (expand-file-name "emacs.ps" ps-dir))) |
| 217 | ;; Lisp manual | 219 | ;; Lisp manual |
| 218 | (let ((texi (expand-file-name "doc/lispref/elisp.texi" root))) | 220 | (let ((texi (expand-file-name "doc/lispref/elisp.texi" root))) |
| 219 | (manual-html-node texi (expand-file-name "elisp" html-node-dir)) | 221 | (manual-html-node texi (expand-file-name "elisp" html-node-dir)) |
| 220 | (manual-html-mono texi (expand-file-name "elisp.html" html-mono-dir)) | 222 | (manual-html-mono texi (expand-file-name "elisp.html" html-mono-dir)) |
| 221 | (manual-pdf texi (expand-file-name "elisp.pdf" dest)) | 223 | (manual-pdf texi (expand-file-name "elisp.pdf" pdf-dir)) |
| 222 | (manual-ps texi (expand-file-name "elisp.ps" ps-dir))) | 224 | (manual-ps texi (expand-file-name "elisp.ps" ps-dir))) |
| 223 | ;; Lisp intro. | 225 | ;; Lisp intro. |
| 224 | (let ((texi (expand-file-name "doc/lispintro/emacs-lisp-intro.texi" root))) | 226 | (let ((texi (expand-file-name "doc/lispintro/emacs-lisp-intro.texi" root))) |
| 225 | (manual-html-node texi (expand-file-name "eintr" html-node-dir)) | 227 | (manual-html-node texi (expand-file-name "eintr" html-node-dir)) |
| 226 | (manual-html-mono texi (expand-file-name "eintr.html" html-mono-dir)) | 228 | (manual-html-mono texi (expand-file-name "eintr.html" html-mono-dir)) |
| 227 | (manual-pdf texi (expand-file-name "eintr.pdf" dest)) | 229 | (manual-pdf texi (expand-file-name "eintr.pdf" pdf-dir)) |
| 228 | (manual-ps texi (expand-file-name "eintr.ps" ps-dir))) | 230 | (manual-ps texi (expand-file-name "eintr.ps" ps-dir))) |
| 229 | ;; Misc manuals | 231 | ;; Misc manuals |
| 230 | (let ((manuals '("ada-mode" "auth" "autotype" "bovine" "calc" "cc-mode" | 232 | (let ((manuals '("ada-mode" "auth" "autotype" "bovine" "calc" "cc-mode" |