]> git.eshelyaron.com Git - emacs.git/commitdiff
* admin/admin.el (make-manuals): Use a pdf/ subdirectory for pdf versions.
authorGlenn Morris <rgm@gnu.org>
Fri, 5 Jul 2013 16:10:47 +0000 (09:10 -0700)
committerGlenn Morris <rgm@gnu.org>
Fri, 5 Jul 2013 16:10:47 +0000 (09:10 -0700)
admin/ChangeLog
admin/admin.el

index ccee52e6b88edb659e42b46a1b166420d2e6e2df..4f7c90bccdf36894447ac53dc54bb2f3aaa033db 100644 (file)
@@ -1,6 +1,7 @@
 2013-07-05  Glenn Morris  <rgm@gnu.org>
 
        * admin.el (make-manuals): Use a standard location for lispintro.
+       Use a pdf/ subdirectory for pdf versions.
 
 2013-06-29  Glenn Morris  <rgm@gnu.org>
 
index f82897e1686541b819c962a13b72adba7b25da60..1f0e1b761d286a40ffc44704e9cacc319e617be9 100644 (file)
@@ -199,7 +199,8 @@ Root must be the root of an Emacs source tree."
   (let* ((dest (expand-file-name "manual" root))
         (html-node-dir (expand-file-name "html_node" dest))
         (html-mono-dir (expand-file-name "html_mono" dest))
-        (ps-dir (expand-file-name "ps" dest)))
+        (ps-dir (expand-file-name "ps" dest))
+        (pdf-dir (expand-file-name "pdf" dest)))
     (when (file-directory-p dest)
       (if (y-or-n-p (format "Directory %s exists, delete it first?" dest))
          (delete-directory dest t)
@@ -208,23 +209,24 @@ Root must be the root of an Emacs source tree."
     (make-directory html-node-dir)
     (make-directory html-mono-dir)
     (make-directory ps-dir)
+    (make-directory pdf-dir)
     ;; Emacs manual
     (let ((texi (expand-file-name "doc/emacs/emacs.texi" root)))
       (manual-html-node texi (expand-file-name "emacs" html-node-dir))
       (manual-html-mono texi (expand-file-name "emacs.html" html-mono-dir))
-      (manual-pdf texi (expand-file-name "emacs.pdf" dest))
+      (manual-pdf texi (expand-file-name "emacs.pdf" pdf-dif))
       (manual-ps texi (expand-file-name "emacs.ps" ps-dir)))
     ;; Lisp manual
     (let ((texi (expand-file-name "doc/lispref/elisp.texi" root)))
       (manual-html-node texi (expand-file-name "elisp" html-node-dir))
       (manual-html-mono texi (expand-file-name "elisp.html" html-mono-dir))
-      (manual-pdf texi (expand-file-name "elisp.pdf" dest))
+      (manual-pdf texi (expand-file-name "elisp.pdf" pdf-dir))
       (manual-ps texi (expand-file-name "elisp.ps" ps-dir)))
     ;; Lisp intro.
     (let ((texi (expand-file-name "doc/lispintro/emacs-lisp-intro.texi" root)))
       (manual-html-node texi (expand-file-name "eintr" html-node-dir))
       (manual-html-mono texi (expand-file-name "eintr.html" html-mono-dir))
-      (manual-pdf texi (expand-file-name "eintr.pdf" dest))
+      (manual-pdf texi (expand-file-name "eintr.pdf" pdf-dir))
       (manual-ps texi (expand-file-name "eintr.ps" ps-dir)))
     ;; Misc manuals
     (let ((manuals '("ada-mode" "auth" "autotype" "bovine" "calc" "cc-mode"