aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorGlenn Morris2013-03-11 09:31:55 -0700
committerGlenn Morris2013-03-11 09:31:55 -0700
commitae0d461554a9351a0d897ce0e60b47fc9670431e (patch)
treeabffca7298d82f918044e8cfe72d8f9493c31d9e /admin
parent2523c845da0ef83046ff6f978254d43a4851b1f2 (diff)
parentc69f46735f5bde557071785117eb0759829dc19c (diff)
downloademacs-ae0d461554a9351a0d897ce0e60b47fc9670431e.tar.gz
emacs-ae0d461554a9351a0d897ce0e60b47fc9670431e.zip
Merge from emacs-24; up to 2012-12-25T17:37:29Z!eliz@gnu.org
Diffstat (limited to 'admin')
-rw-r--r--admin/ChangeLog7
-rw-r--r--admin/admin.el40
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 @@
12013-03-11 Glenn Morris <rgm@gnu.org>
2
3 * admin.el (make-manuals): Add emacs-lisp-intro and some more
4 doc/misc manuals.
5 (manual-html-mono, manual-html-node, manual-txt):
6 Pass -I to makeinfo.
7
12013-03-10 Glenn Morris <rgm@gnu.org> 82013-03-10 Glenn Morris <rgm@gnu.org>
2 9
3 * admin.el (add-release-logs): Use UTC for release date. 10 * 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."
228 (manual-pdf texi (expand-file-name "elisp.pdf" dest)) 228 (manual-pdf texi (expand-file-name "elisp.pdf" dest))
229 (manual-dvi texi (expand-file-name "elisp.dvi" dvi-dir) 229 (manual-dvi texi (expand-file-name "elisp.dvi" dvi-dir)
230 (expand-file-name "elisp.ps" ps-dir))) 230 (expand-file-name "elisp.ps" ps-dir)))
231 (let ((texi (expand-file-name "doc/lispintro/emacs-lisp-intro.texi" root))
232 (dest (expand-file-name "emacs-lisp-intro" dest))
233 dest2 dest3)
234 ;; Mimic the atypical directory layout used for emacs-lisp-intro.
235 (make-directory dest)
236 (make-directory (setq dest2 (expand-file-name "html_node" dest)))
237 (manual-html-node texi dest2)
238 (make-directory (setq dest2 (expand-file-name "html_mono" dest)))
239 (manual-html-mono texi (expand-file-name "emacs-lisp-intro.html" dest2))
240 (make-directory (setq dest2 (expand-file-name "txt" dest)))
241 (manual-txt texi (expand-file-name "emacs-lisp-intro.txt" dest2))
242 (manual-pdf texi (expand-file-name "emacs-lisp-intro.pdf" dest))
243 (make-directory (setq dest2 (expand-file-name "dvi" dest)))
244 (make-directory (setq dest3 (expand-file-name "ps" dest)))
245 (manual-dvi texi (expand-file-name "emacs-lisp-intro.dvi" dest2)
246 (expand-file-name "emacs-lisp-intro.ps" dest3)))
231 ;; Misc manuals 247 ;; Misc manuals
232 (let ((manuals '("ada-mode" "auth" "autotype" "calc" "cc-mode" 248 (let ((manuals '("ada-mode" "auth" "autotype" "bovine" "calc" "cc-mode"
233 "cl" "dbus" "dired-x" "ebrowse" "ede" "ediff" 249 "cl" "dbus" "dired-x" "ebrowse" "ede" "ediff"
234 "edt" "eieio" "emacs-mime" "epa" "erc" "ert" 250 "edt" "eieio" "emacs-gnutls" "emacs-mime" "epa" "erc" "ert"
235 "eshell" "eudc" "faq" "flymake" "forms" 251 "eshell" "eudc" "faq" "flymake" "forms"
236 "gnus" "emacs-gnutls" "idlwave" "info" 252 "gnus" "htmlfontify" "idlwave" "info"
237 "mairix-el" "message" "mh-e" "newsticker" 253 "mairix-el" "message" "mh-e" "newsticker"
238 "nxml-mode" "org" "pcl-cvs" "pgg" "rcirc" 254 "nxml-mode" "org" "pcl-cvs" "pgg" "rcirc"
239 "remember" "reftex" "sasl" "sc" "semantic" 255 "reftex" "remember" "sasl" "sc" "semantic"
240 "ses" "sieve" "smtpmail" "speedbar" "tramp" 256 "ses" "sieve" "smtpmail" "speedbar" "srecode" "tramp"
241 "url" "vip" "viper" "widget" "woman"))) 257 "url" "vip" "viper" "widget" "wisent" "woman")))
242 (dolist (manual manuals) 258 (dolist (manual manuals)
243 (manual-misc-html manual root html-node-dir html-mono-dir))) 259 (manual-misc-html manual root html-node-dir html-mono-dir)))
244 (message "Manuals created in %s" dest))) 260 (message "Manuals created in %s" dest)))
@@ -269,6 +285,10 @@ This function also edits the HTML files so that they validate as
269HTML 4.01 Transitional, and pulls in the gnu.org stylesheet using 285HTML 4.01 Transitional, and pulls in the gnu.org stylesheet using
270the @import directive." 286the @import directive."
271 (call-process "makeinfo" nil nil nil 287 (call-process "makeinfo" nil nil nil
288 "-I" (expand-file-name "../emacs"
289 (file-name-directory texi-file))
290 "-I" (expand-file-name "../misc"
291 (file-name-directory texi-file))
272 "--html" "--no-split" texi-file "-o" dest) 292 "--html" "--no-split" texi-file "-o" dest)
273 (with-temp-buffer 293 (with-temp-buffer
274 (insert-file-contents dest) 294 (insert-file-contents dest)
@@ -290,6 +310,10 @@ the @import directive."
290 (unless (file-exists-p texi-file) 310 (unless (file-exists-p texi-file)
291 (error "Manual file %s not found" texi-file)) 311 (error "Manual file %s not found" texi-file))
292 (call-process "makeinfo" nil nil nil 312 (call-process "makeinfo" nil nil nil
313 "-I" (expand-file-name "../emacs"
314 (file-name-directory texi-file))
315 "-I" (expand-file-name "../misc"
316 (file-name-directory texi-file))
293 "--html" texi-file "-o" dir) 317 "--html" texi-file "-o" dir)
294 ;; Loop through the node files, fixing them up. 318 ;; Loop through the node files, fixing them up.
295 (dolist (f (directory-files dir nil "\\.html\\'")) 319 (dolist (f (directory-files dir nil "\\.html\\'"))
@@ -321,6 +345,10 @@ the @import directive."
321(defun manual-txt (texi-file dest) 345(defun manual-txt (texi-file dest)
322 "Run Makeinfo on TEXI-FILE, emitting plaintext output to DEST." 346 "Run Makeinfo on TEXI-FILE, emitting plaintext output to DEST."
323 (call-process "makeinfo" nil nil nil 347 (call-process "makeinfo" nil nil nil
348 "-I" (expand-file-name "../emacs"
349 (file-name-directory texi-file))
350 "-I" (expand-file-name "../misc"
351 (file-name-directory texi-file))
324 "--plaintext" "--no-split" texi-file "-o" dest) 352 "--plaintext" "--no-split" texi-file "-o" dest)
325 (shell-command (concat "gzip -c " dest " > " (concat dest ".gz")))) 353 (shell-command (concat "gzip -c " dest " > " (concat dest ".gz"))))
326 354