diff options
author | Glenn Morris <rgm@gnu.org> | 2013-03-11 09:31:55 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2013-03-11 09:31:55 -0700 |
commit | ae0d461554a9351a0d897ce0e60b47fc9670431e (patch) | |
tree | abffca7298d82f918044e8cfe72d8f9493c31d9e | |
parent | 2523c845da0ef83046ff6f978254d43a4851b1f2 (diff) | |
parent | c69f46735f5bde557071785117eb0759829dc19c (diff) | |
download | emacs-ae0d461554a9351a0d897ce0e60b47fc9670431e.tar.gz |
Merge from emacs-24; up to 2012-12-25T17:37:29Z!eliz@gnu.org
-rw-r--r-- | admin/ChangeLog | 7 | ||||
-rw-r--r-- | admin/admin.el | 40 |
2 files changed, 41 insertions, 6 deletions
diff --git a/admin/ChangeLog b/admin/ChangeLog index a12e6c05e64..419336f2761 100644 --- a/admin/ChangeLog +++ b/admin/ChangeLog @@ -1,3 +1,10 @@ +2013-03-11 Glenn Morris <rgm@gnu.org> + + * admin.el (make-manuals): Add emacs-lisp-intro and some more + doc/misc manuals. + (manual-html-mono, manual-html-node, manual-txt): + Pass -I to makeinfo. + 2013-03-10 Glenn Morris <rgm@gnu.org> * admin.el (add-release-logs): Use UTC for release date. diff --git a/admin/admin.el b/admin/admin.el index fc793c17bd2..8b6bb472b7d 100644 --- a/admin/admin.el +++ b/admin/admin.el @@ -228,17 +228,33 @@ Root must be the root of an Emacs source tree." (manual-pdf texi (expand-file-name "elisp.pdf" dest)) (manual-dvi texi (expand-file-name "elisp.dvi" dvi-dir) (expand-file-name "elisp.ps" ps-dir))) + (let ((texi (expand-file-name "doc/lispintro/emacs-lisp-intro.texi" root)) + (dest (expand-file-name "emacs-lisp-intro" dest)) + dest2 dest3) + ;; Mimic the atypical directory layout used for emacs-lisp-intro. + (make-directory dest) + (make-directory (setq dest2 (expand-file-name "html_node" dest))) + (manual-html-node texi dest2) + (make-directory (setq dest2 (expand-file-name "html_mono" dest))) + (manual-html-mono texi (expand-file-name "emacs-lisp-intro.html" dest2)) + (make-directory (setq dest2 (expand-file-name "txt" dest))) + (manual-txt texi (expand-file-name "emacs-lisp-intro.txt" dest2)) + (manual-pdf texi (expand-file-name "emacs-lisp-intro.pdf" dest)) + (make-directory (setq dest2 (expand-file-name "dvi" dest))) + (make-directory (setq dest3 (expand-file-name "ps" dest))) + (manual-dvi texi (expand-file-name "emacs-lisp-intro.dvi" dest2) + (expand-file-name "emacs-lisp-intro.ps" dest3))) ;; Misc manuals - (let ((manuals '("ada-mode" "auth" "autotype" "calc" "cc-mode" + (let ((manuals '("ada-mode" "auth" "autotype" "bovine" "calc" "cc-mode" "cl" "dbus" "dired-x" "ebrowse" "ede" "ediff" - "edt" "eieio" "emacs-mime" "epa" "erc" "ert" + "edt" "eieio" "emacs-gnutls" "emacs-mime" "epa" "erc" "ert" "eshell" "eudc" "faq" "flymake" "forms" - "gnus" "emacs-gnutls" "idlwave" "info" + "gnus" "htmlfontify" "idlwave" "info" "mairix-el" "message" "mh-e" "newsticker" "nxml-mode" "org" "pcl-cvs" "pgg" "rcirc" - "remember" "reftex" "sasl" "sc" "semantic" - "ses" "sieve" "smtpmail" "speedbar" "tramp" - "url" "vip" "viper" "widget" "woman"))) + "reftex" "remember" "sasl" "sc" "semantic" + "ses" "sieve" "smtpmail" "speedbar" "srecode" "tramp" + "url" "vip" "viper" "widget" "wisent" "woman"))) (dolist (manual manuals) (manual-misc-html manual root html-node-dir html-mono-dir))) (message "Manuals created in %s" dest))) @@ -269,6 +285,10 @@ This function also edits the HTML files so that they validate as HTML 4.01 Transitional, and pulls in the gnu.org stylesheet using the @import directive." (call-process "makeinfo" nil nil nil + "-I" (expand-file-name "../emacs" + (file-name-directory texi-file)) + "-I" (expand-file-name "../misc" + (file-name-directory texi-file)) "--html" "--no-split" texi-file "-o" dest) (with-temp-buffer (insert-file-contents dest) @@ -290,6 +310,10 @@ the @import directive." (unless (file-exists-p texi-file) (error "Manual file %s not found" texi-file)) (call-process "makeinfo" nil nil nil + "-I" (expand-file-name "../emacs" + (file-name-directory texi-file)) + "-I" (expand-file-name "../misc" + (file-name-directory texi-file)) "--html" texi-file "-o" dir) ;; Loop through the node files, fixing them up. (dolist (f (directory-files dir nil "\\.html\\'")) @@ -321,6 +345,10 @@ the @import directive." (defun manual-txt (texi-file dest) "Run Makeinfo on TEXI-FILE, emitting plaintext output to DEST." (call-process "makeinfo" nil nil nil + "-I" (expand-file-name "../emacs" + (file-name-directory texi-file)) + "-I" (expand-file-name "../misc" + (file-name-directory texi-file)) "--plaintext" "--no-split" texi-file "-o" dest) (shell-command (concat "gzip -c " dest " > " (concat dest ".gz")))) |