diff options
| -rw-r--r-- | admin/ChangeLog | 6 | ||||
| -rw-r--r-- | admin/admin.el | 81 | ||||
| -rw-r--r-- | doc/emacs/ChangeLog | 6 | ||||
| -rw-r--r-- | doc/emacs/Makefile.in | 42 | ||||
| -rw-r--r-- | doc/lispintro/ChangeLog | 6 | ||||
| -rw-r--r-- | doc/lispintro/Makefile.in | 41 | ||||
| -rw-r--r-- | doc/lispref/ChangeLog | 6 | ||||
| -rw-r--r-- | doc/lispref/Makefile.in | 40 | ||||
| -rw-r--r-- | doc/misc/ChangeLog | 6 | ||||
| -rw-r--r-- | doc/misc/Makefile.in | 38 |
10 files changed, 111 insertions, 161 deletions
diff --git a/admin/ChangeLog b/admin/ChangeLog index 9470c933264..303da8c020a 100644 --- a/admin/ChangeLog +++ b/admin/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2014-11-09 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * admin.el (make-manuals-dist-output-variables) | ||
| 4 | (make-manuals-dist--1, make-manuals-dist): New. | ||
| 5 | Replaces doc/*/Makefile.in `dist' rules. | ||
| 6 | |||
| 1 | 2014-11-04 Paul Eggert <eggert@cs.ucla.edu> | 7 | 2014-11-04 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 8 | ||
| 3 | Spelling fixes; tweak explanation of commit messages. | 9 | Spelling fixes; tweak explanation of commit messages. |
diff --git a/admin/admin.el b/admin/admin.el index 7af9ffa4177..48e083d7789 100644 --- a/admin/admin.el +++ b/admin/admin.el | |||
| @@ -610,6 +610,87 @@ style=\"text-align:left\">") | |||
| 610 | (forward-line 1))))) | 610 | (forward-line 1))))) |
| 611 | 611 | ||
| 612 | 612 | ||
| 613 | (defconst make-manuals-dist-output-variables | ||
| 614 | `(("@srcdir@" . ".") | ||
| 615 | ("^\\(\\(?:texinfo\\|buildinfo\\|emacs\\)dir *=\\).*" . "\\1 .") | ||
| 616 | ("^\\(clean:.*\\)" . "\\1 infoclean") | ||
| 617 | ("@MAKEINFO@" . "makeinfo") | ||
| 618 | ("@MKDIR_P@" . "mkdir -p") | ||
| 619 | ("@INFO_EXT@" . ".info") | ||
| 620 | ("@INFO_OPTS@" . "") | ||
| 621 | ("@SHELL@" . "/bin/bash") | ||
| 622 | ("@prefix@" . "/usr/local") | ||
| 623 | ("@datarootdir@" . "${prefix}/share") | ||
| 624 | ("@datadir@" . "${datarootdir}") | ||
| 625 | ("@PACKAGE_TARNAME@" . "emacs") | ||
| 626 | ("@docdir@" . "${datarootdir}/doc/${PACKAGE_TARNAME}") | ||
| 627 | ("@\\(dvi\\|html\\|pdf\\|ps\\)dir@" . "${docdir}") | ||
| 628 | ("@GZIP_PROG@" . "gzip") | ||
| 629 | ("@INSTALL@" . "install -c") | ||
| 630 | ("@INSTALL_DATA@" . "${INSTALL} -m 644") | ||
| 631 | ("@configure_input@" . "")) | ||
| 632 | "Alist of (REGEXP . REPLACEMENT) pairs for `make-manuals-dist'.") | ||
| 633 | |||
| 634 | (defun make-manuals-dist--1 (root type) | ||
| 635 | "Subroutine of `make-manuals-dist'." | ||
| 636 | (let* ((dest (expand-file-name "manual" root)) | ||
| 637 | (default-directory (progn (make-directory dest t) | ||
| 638 | (file-name-as-directory dest))) | ||
| 639 | (version (with-temp-buffer | ||
| 640 | (insert-file-contents "../doc/emacs/emacsver.texi") | ||
| 641 | (re-search-forward "@set EMACSVER \\([0-9.]+\\)") | ||
| 642 | (match-string 1))) | ||
| 643 | (stem (format "emacs-%s-%s" (if (equal type "emacs") "manual" type) | ||
| 644 | version)) | ||
| 645 | (tarfile (format "%s.tar" stem))) | ||
| 646 | (message "Doing %s..." type) | ||
| 647 | (if (file-directory-p stem) | ||
| 648 | (delete-directory stem t)) | ||
| 649 | (make-directory stem) | ||
| 650 | (copy-file "../doc/misc/texinfo.tex" stem) | ||
| 651 | (or (equal type "emacs") (copy-file "../doc/emacs/emacsver.texi" stem)) | ||
| 652 | (dolist (file (directory-files (format "../doc/%s" type) t)) | ||
| 653 | (if (or (string-match-p "\\(\\.texi\\'\\|/ChangeLog\\|/README\\'\\)" file) | ||
| 654 | (and (equal type "lispintro") | ||
| 655 | (string-match-p "\\.\\(eps\\|pdf\\)\\'" file))) | ||
| 656 | (copy-file file stem))) | ||
| 657 | (with-temp-buffer | ||
| 658 | (insert-file-contents (format "../doc/%s/Makefile.in" type)) | ||
| 659 | (dolist (cons make-manuals-dist-output-variables) | ||
| 660 | (while (re-search-forward (car cons) nil t) | ||
| 661 | (replace-match (cdr cons) t)) | ||
| 662 | (goto-char (point-min))) | ||
| 663 | (let (ats) | ||
| 664 | (while (re-search-forward "@[a-zA-Z_]+@" nil t) | ||
| 665 | (setq ats t) | ||
| 666 | (message "Unexpanded: %s" (match-string 0))) | ||
| 667 | (if ats (error "Unexpanded configure variables in Makefile?"))) | ||
| 668 | (write-region nil nil (expand-file-name (format "%s/Makefile" stem)) | ||
| 669 | nil 'silent)) | ||
| 670 | (call-process "tar" nil nil nil "-cf" tarfile stem) | ||
| 671 | (delete-directory stem t) | ||
| 672 | (message "...created %s" tarfile))) | ||
| 673 | |||
| 674 | ;; Does anyone actually use these tarfiles? | ||
| 675 | (defun make-manuals-dist (root &optional type) | ||
| 676 | "Make the standalone manual source tarfiles for the Emacs webpage. | ||
| 677 | ROOT should be the root of an Emacs source tree. | ||
| 678 | Interactively with a prefix argument, prompt for TYPE. | ||
| 679 | Optional argument TYPE is type of output (nil means all)." | ||
| 680 | (interactive (let ((root (read-directory-name "Emacs root directory: " | ||
| 681 | source-directory nil t))) | ||
| 682 | (list root | ||
| 683 | (if current-prefix-arg | ||
| 684 | (completing-read | ||
| 685 | "Type: " | ||
| 686 | '("emacs" "lispref" "lispintro" "misc")))))) | ||
| 687 | (unless (file-exists-p (expand-file-name "src/emacs.c" root)) | ||
| 688 | (user-error "%s doesn't seem to be the root of an Emacs source tree" root)) | ||
| 689 | (dolist (m '("emacs" "lispref" "lispintro" "misc")) | ||
| 690 | (if (member type (list nil m)) | ||
| 691 | (make-manuals-dist--1 root m)))) | ||
| 692 | |||
| 693 | |||
| 613 | ;; Stuff to check new `defcustom's got :version tags. | 694 | ;; Stuff to check new `defcustom's got :version tags. |
| 614 | ;; Adapted from check-declare.el. | 695 | ;; Adapted from check-declare.el. |
| 615 | 696 | ||
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index 9dc3af97788..8e85c890285 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2014-11-09 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * Makefile.in (version): Remove variable. | ||
| 4 | (clean): No longer delete dist tarfile. | ||
| 5 | (dist): Remove rule; replace with code in admin.el. | ||
| 6 | |||
| 1 | 2014-11-03 Glenn Morris <rgm@gnu.org> | 7 | 2014-11-03 Glenn Morris <rgm@gnu.org> |
| 2 | 8 | ||
| 3 | * programs.texi (Misc for Programs): Fix typo. | 9 | * programs.texi (Misc for Programs): Fix typo. |
diff --git a/doc/emacs/Makefile.in b/doc/emacs/Makefile.in index 352768517fa..67c324e1f9d 100644 --- a/doc/emacs/Makefile.in +++ b/doc/emacs/Makefile.in | |||
| @@ -26,9 +26,6 @@ SHELL = @SHELL@ | |||
| 26 | # of the source tree. This is set by configure's `--srcdir' option. | 26 | # of the source tree. This is set by configure's `--srcdir' option. |
| 27 | srcdir=@srcdir@ | 27 | srcdir=@srcdir@ |
| 28 | 28 | ||
| 29 | # Only for make dist. | ||
| 30 | version=@version@ | ||
| 31 | |||
| 32 | ## Where the output files go. | 29 | ## Where the output files go. |
| 33 | ## Note that the setfilename command in the .texi files assumes this. | 30 | ## Note that the setfilename command in the .texi files assumes this. |
| 34 | ## This is a bit funny. Because the info files are in the | 31 | ## This is a bit funny. Because the info files are in the |
| @@ -191,7 +188,6 @@ mostlyclean: | |||
| 191 | ## Products not in the release tarfiles. | 188 | ## Products not in the release tarfiles. |
| 192 | clean: mostlyclean | 189 | clean: mostlyclean |
| 193 | rm -f $(DVI_TARGETS) $(HTML_TARGETS) $(PDF_TARGETS) $(PS_TARGETS) | 190 | rm -f $(DVI_TARGETS) $(HTML_TARGETS) $(PDF_TARGETS) $(PS_TARGETS) |
| 194 | rm -f emacs-manual-${version}.tar* | ||
| 195 | 191 | ||
| 196 | distclean: clean | 192 | distclean: clean |
| 197 | rm -f Makefile | 193 | rm -f Makefile |
| @@ -205,44 +201,6 @@ infoclean: | |||
| 205 | 201 | ||
| 206 | bootstrap-clean maintainer-clean: distclean infoclean | 202 | bootstrap-clean maintainer-clean: distclean infoclean |
| 207 | 203 | ||
| 208 | .PHONY: dist | ||
| 209 | |||
| 210 | ## Make a standalone tarfile of the Emacs manual sources. | ||
| 211 | ## The [c] is a dumb way to prevent configure expanding it. | ||
| 212 | ## TODO this is getting increasingly lengthy; not sure it is worth keeping. | ||
| 213 | dist: | ||
| 214 | rm -rf emacs-manual-${version} | ||
| 215 | mkdir emacs-manual-${version} | ||
| 216 | cp ${srcdir}/*.texi ${texinfodir}/texinfo.tex \ | ||
| 217 | ${srcdir}/ChangeLog* emacs-manual-${version}/ | ||
| 218 | sed -e 's/@sr[c]dir@/./' -e 's/^\(texinfodir *=\).*/\1 ./' \ | ||
| 219 | -e 's/^\(buildinfodir *=\).*/\1 ./' \ | ||
| 220 | -e 's/^\(clean:.*\)/\1 infoclean/' \ | ||
| 221 | -e "s/@ver[s]ion@/${version}/" \ | ||
| 222 | -e 's/@MAKE[I]NFO@/makeinfo/' -e 's/@MK[D]IR_P@/mkdir -p/' \ | ||
| 223 | -e 's/@IN[F]O_EXT@/.info/' -e 's/@IN[F]O_OPTS@//' \ | ||
| 224 | -e 's|@SH[E]LL@|/bin/bash|' \ | ||
| 225 | -e 's|@[p]refix@|/usr/local|' \ | ||
| 226 | -e 's|@[d]atarootdir@|$${prefix}/share|' \ | ||
| 227 | -e 's|@[d]atadir@|$${datarootdir}|' \ | ||
| 228 | -e 's|@[P]ACKAGE_TARNAME@|emacs|' \ | ||
| 229 | -e 's|@[d]ocdir@|$${datarootdir}/doc/$${PACKAGE_TARNAME}|' \ | ||
| 230 | -e 's|@[d]vidir@|$${docdir}|' \ | ||
| 231 | -e 's|@[h]tmldir@|$${docdir}|' \ | ||
| 232 | -e 's|@[p]dfdir@|$${docdir}|' \ | ||
| 233 | -e 's|@[p]sdir@|$${docdir}|' \ | ||
| 234 | -e 's|@[G]ZIP_PROG@|gzip|' \ | ||
| 235 | -e 's|@IN[S]TALL@|install -c|' \ | ||
| 236 | -e 's|@IN[S]TALL_DATA@|$${INSTALL} -m 644|' \ | ||
| 237 | -e '/@[c]onfigure_input@/d' \ | ||
| 238 | ${srcdir}/Makefile.in > emacs-manual-${version}/Makefile | ||
| 239 | @if grep '@[a-zA-Z_]*@' emacs-manual-${version}/Makefile; then \ | ||
| 240 | echo "Unexpanded configure variables in Makefile?" 1>&2; exit 1; \ | ||
| 241 | fi | ||
| 242 | tar -cf emacs-manual-${version}.tar emacs-manual-${version} | ||
| 243 | rm -rf emacs-manual-${version} | ||
| 244 | |||
| 245 | |||
| 246 | .PHONY: install-dvi install-html install-pdf install-ps install-doc | 204 | .PHONY: install-dvi install-html install-pdf install-ps install-doc |
| 247 | 205 | ||
| 248 | install-dvi: dvi | 206 | install-dvi: dvi |
diff --git a/doc/lispintro/ChangeLog b/doc/lispintro/ChangeLog index 37f8ac9da0e..572875c151a 100644 --- a/doc/lispintro/ChangeLog +++ b/doc/lispintro/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2014-11-09 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * Makefile.in (version): Remove variable. | ||
| 4 | (clean): No longer delete dist tarfile. | ||
| 5 | (dist): Remove rule; replace with code in admin.el. | ||
| 6 | |||
| 1 | 2014-10-20 Glenn Morris <rgm@gnu.org> | 7 | 2014-10-20 Glenn Morris <rgm@gnu.org> |
| 2 | 8 | ||
| 3 | * Merge in all changes up to 24.4 release. | 9 | * Merge in all changes up to 24.4 release. |
diff --git a/doc/lispintro/Makefile.in b/doc/lispintro/Makefile.in index 49d3fe3c957..4bcbb53ad9a 100644 --- a/doc/lispintro/Makefile.in +++ b/doc/lispintro/Makefile.in | |||
| @@ -19,10 +19,7 @@ | |||
| 19 | 19 | ||
| 20 | SHELL = @SHELL@ | 20 | SHELL = @SHELL@ |
| 21 | 21 | ||
| 22 | # NB If you add any more configure variables, | ||
| 23 | # update the sed rules in the dist target below. | ||
| 24 | srcdir = @srcdir@ | 22 | srcdir = @srcdir@ |
| 25 | version=@version@ | ||
| 26 | 23 | ||
| 27 | buildinfodir = $(srcdir)/../../info | 24 | buildinfodir = $(srcdir)/../../info |
| 28 | # Directory with the (customized) texinfo.tex file. | 25 | # Directory with the (customized) texinfo.tex file. |
| @@ -108,7 +105,6 @@ mostlyclean: | |||
| 108 | 105 | ||
| 109 | clean: mostlyclean | 106 | clean: mostlyclean |
| 110 | rm -f $(DVI_TARGETS) $(HTML_TARGETS) $(PDF_TARGETS) $(PS_TARGETS) | 107 | rm -f $(DVI_TARGETS) $(HTML_TARGETS) $(PDF_TARGETS) $(PS_TARGETS) |
| 111 | rm -f emacs-lispintro-${version}.tar* | ||
| 112 | 108 | ||
| 113 | distclean: clean | 109 | distclean: clean |
| 114 | rm -f Makefile | 110 | rm -f Makefile |
| @@ -120,43 +116,6 @@ infoclean: | |||
| 120 | 116 | ||
| 121 | bootstrap-clean maintainer-clean: distclean infoclean | 117 | bootstrap-clean maintainer-clean: distclean infoclean |
| 122 | 118 | ||
| 123 | .PHONY: dist | ||
| 124 | |||
| 125 | dist: | ||
| 126 | rm -rf emacs-lispintro-${version} | ||
| 127 | mkdir emacs-lispintro-${version} | ||
| 128 | cp ${srcdir}/*.texi ${srcdir}/*.eps ${srcdir}/*.pdf \ | ||
| 129 | ${texinfodir}/texinfo.tex ${emacsdir}/emacsver.texi \ | ||
| 130 | ${srcdir}/ChangeLog* ${srcdir}/README emacs-lispintro-${version}/ | ||
| 131 | sed -e 's/@sr[c]dir@/./' -e 's/^\(texinfodir *=\).*/\1 ./' \ | ||
| 132 | -e 's/^\(emacsdir *=\).*/\1 ./' \ | ||
| 133 | -e 's/^\(buildinfodir *=\).*/\1 ./' \ | ||
| 134 | -e 's/^\(clean:.*\)/\1 infoclean/' \ | ||
| 135 | -e "s/@ver[s]ion@/${version}/" \ | ||
| 136 | -e 's/@MAKE[I]NFO@/makeinfo/' -e 's/@MK[D]IR_P@/mkdir -p/' \ | ||
| 137 | -e 's/@IN[F]O_EXT@/.info/' -e 's/@IN[F]O_OPTS@//' \ | ||
| 138 | -e 's|@SH[E]LL@|/bin/bash|' \ | ||
| 139 | -e 's|@[p]refix@|/usr/local|' \ | ||
| 140 | -e 's|@[d]atarootdir@|$${prefix}/share|' \ | ||
| 141 | -e 's|@[d]atadir@|$${datarootdir}|' \ | ||
| 142 | -e 's|@[P]ACKAGE_TARNAME@|emacs|' \ | ||
| 143 | -e 's|@[d]ocdir@|$${datarootdir}/doc/$${PACKAGE_TARNAME}|' \ | ||
| 144 | -e 's|@[d]vidir@|$${docdir}|' \ | ||
| 145 | -e 's|@[h]tmldir@|$${docdir}|' \ | ||
| 146 | -e 's|@[p]dfdir@|$${docdir}|' \ | ||
| 147 | -e 's|@[p]sdir@|$${docdir}|' \ | ||
| 148 | -e 's|@[G]ZIP_PROG@|gzip|' \ | ||
| 149 | -e 's|@IN[S]TALL@|install -c|' \ | ||
| 150 | -e 's|@IN[S]TALL_DATA@|$${INSTALL} -m 644|' \ | ||
| 151 | -e '/@[c]onfigure_input@/d' \ | ||
| 152 | ${srcdir}/Makefile.in > emacs-lispintro-${version}/Makefile | ||
| 153 | @if grep '@[a-zA-Z_]*@' emacs-lispintro-${version}/Makefile; then \ | ||
| 154 | echo "Unexpanded configure variables in Makefile?" 1>&2; exit 1; \ | ||
| 155 | fi | ||
| 156 | tar -cf emacs-lispintro-${version}.tar emacs-lispintro-${version} | ||
| 157 | rm -rf emacs-lispintro-${version} | ||
| 158 | |||
| 159 | |||
| 160 | .PHONY: install-dvi install-html install-pdf install-ps install-doc | 119 | .PHONY: install-dvi install-html install-pdf install-ps install-doc |
| 161 | 120 | ||
| 162 | install-dvi: dvi | 121 | install-dvi: dvi |
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 9a7a6c8c8a6..83a842372a0 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2014-11-09 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * Makefile.in (version): Remove variable. | ||
| 4 | (clean): No longer delete dist tarfile. | ||
| 5 | (dist): Remove rule; replace with code in admin.el. | ||
| 6 | |||
| 1 | 2014-11-07 Martin Rudalics <rudalics@gmx.at> | 7 | 2014-11-07 Martin Rudalics <rudalics@gmx.at> |
| 2 | 8 | ||
| 3 | * frames.texi (Size and Position): Rewrite description of | 9 | * frames.texi (Size and Position): Rewrite description of |
diff --git a/doc/lispref/Makefile.in b/doc/lispref/Makefile.in index 22955fb9bae..11cc0ecc10e 100644 --- a/doc/lispref/Makefile.in +++ b/doc/lispref/Makefile.in | |||
| @@ -25,8 +25,6 @@ SHELL = @SHELL@ | |||
| 25 | # Standard configure variables. | 25 | # Standard configure variables. |
| 26 | srcdir = @srcdir@ | 26 | srcdir = @srcdir@ |
| 27 | 27 | ||
| 28 | version=@version@ | ||
| 29 | |||
| 30 | buildinfodir = $(srcdir)/../../info | 28 | buildinfodir = $(srcdir)/../../info |
| 31 | # Directory with the (customized) texinfo.tex file. | 29 | # Directory with the (customized) texinfo.tex file. |
| 32 | texinfodir = $(srcdir)/../misc | 30 | texinfodir = $(srcdir)/../misc |
| @@ -164,7 +162,6 @@ mostlyclean: | |||
| 164 | clean: mostlyclean | 162 | clean: mostlyclean |
| 165 | rm -f $(DVI_TARGETS) $(HTML_TARGETS) $(PDF_TARGETS) $(PS_TARGETS) | 163 | rm -f $(DVI_TARGETS) $(HTML_TARGETS) $(PDF_TARGETS) $(PS_TARGETS) |
| 166 | rm -f vol[12].dvi vol[12].pdf vol[12].ps | 164 | rm -f vol[12].dvi vol[12].pdf vol[12].ps |
| 167 | rm -f emacs-lispref-${version}.tar* | ||
| 168 | 165 | ||
| 169 | distclean: clean | 166 | distclean: clean |
| 170 | rm -f Makefile | 167 | rm -f Makefile |
| @@ -177,43 +174,6 @@ infoclean: | |||
| 177 | 174 | ||
| 178 | bootstrap-clean maintainer-clean: distclean infoclean | 175 | bootstrap-clean maintainer-clean: distclean infoclean |
| 179 | 176 | ||
| 180 | .PHONY: dist | ||
| 181 | |||
| 182 | ## Note this excludes the two-volume stuff. | ||
| 183 | dist: | ||
| 184 | rm -rf emacs-lispref-${version} | ||
| 185 | mkdir emacs-lispref-${version} | ||
| 186 | cp ${srcdir}/*.texi ${texinfodir}/texinfo.tex \ | ||
| 187 | $(emacsdir)/emacsver.texi ${srcdir}/ChangeLog* \ | ||
| 188 | ${srcdir}/README emacs-lispref-${version}/ | ||
| 189 | sed -e 's/@sr[c]dir@/./' -e 's/^\(texinfodir *=\).*/\1 ./' \ | ||
| 190 | -e 's/^\(emacsdir *=\).*/\1 ./' \ | ||
| 191 | -e 's/^\(buildinfodir *=\).*/\1 ./' \ | ||
| 192 | -e 's/^\(clean:.*\)/\1 infoclean/' \ | ||
| 193 | -e "s/@ver[s]ion@/${version}/" \ | ||
| 194 | -e 's/@MAKE[I]NFO@/makeinfo/' -e 's/@MK[D]IR_P@/mkdir -p/' \ | ||
| 195 | -e 's/@IN[F]O_EXT@/.info/' -e 's/@IN[F]O_OPTS@//' \ | ||
| 196 | -e 's|@SH[E]LL@|/bin/bash|' \ | ||
| 197 | -e 's|@[p]refix@|/usr/local|' \ | ||
| 198 | -e 's|@[d]atarootdir@|$${prefix}/share|' \ | ||
| 199 | -e 's|@[d]atadir@|$${datarootdir}|' \ | ||
| 200 | -e 's|@[P]ACKAGE_TARNAME@|emacs|' \ | ||
| 201 | -e 's|@[d]ocdir@|$${datarootdir}/doc/$${PACKAGE_TARNAME}|' \ | ||
| 202 | -e 's|@[d]vidir@|$${docdir}|' \ | ||
| 203 | -e 's|@[h]tmldir@|$${docdir}|' \ | ||
| 204 | -e 's|@[p]dfdir@|$${docdir}|' \ | ||
| 205 | -e 's|@[p]sdir@|$${docdir}|' \ | ||
| 206 | -e 's|@[G]ZIP_PROG@|gzip|' \ | ||
| 207 | -e 's|@IN[S]TALL@|install -c|' \ | ||
| 208 | -e 's|@IN[S]TALL_DATA@|$${INSTALL} -m 644|' \ | ||
| 209 | -e '/@[c]onfigure_input@/d' \ | ||
| 210 | ${srcdir}/Makefile.in > emacs-lispref-${version}/Makefile | ||
| 211 | @if grep '@[a-zA-Z_]*@' emacs-lispref-${version}/Makefile; then \ | ||
| 212 | echo "Unexpanded configure variables in Makefile?" 1>&2; exit 1; \ | ||
| 213 | fi | ||
| 214 | tar -cf emacs-lispref-${version}.tar emacs-lispref-${version} | ||
| 215 | rm -rf emacs-lispref-${version} | ||
| 216 | |||
| 217 | .PHONY: install-dvi install-html install-pdf install-ps install-doc | 177 | .PHONY: install-dvi install-html install-pdf install-ps install-doc |
| 218 | 178 | ||
| 219 | install-dvi: dvi | 179 | install-dvi: dvi |
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index 58d1a1080df..8aef62bc6a6 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2014-11-09 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * Makefile.in (version): Remove variable. | ||
| 4 | (clean): No longer delete dist tarfile. | ||
| 5 | (dist): Remove rule; replace with code in admin.el. | ||
| 6 | |||
| 1 | 2014-11-08 Glenn Morris <rgm@gnu.org> | 7 | 2014-11-08 Glenn Morris <rgm@gnu.org> |
| 2 | 8 | ||
| 3 | * Makefile.in (${buildinfodir}/ccmode.info) | 9 | * Makefile.in (${buildinfodir}/ccmode.info) |
diff --git a/doc/misc/Makefile.in b/doc/misc/Makefile.in index 7a2287af710..40a072a7978 100644 --- a/doc/misc/Makefile.in +++ b/doc/misc/Makefile.in | |||
| @@ -23,8 +23,6 @@ SHELL = @SHELL@ | |||
| 23 | # of the source tree. This is set by configure's `--srcdir' option. | 23 | # of the source tree. This is set by configure's `--srcdir' option. |
| 24 | srcdir=@srcdir@ | 24 | srcdir=@srcdir@ |
| 25 | 25 | ||
| 26 | version=@version@ | ||
| 27 | |||
| 28 | ## Where the output files go. | 26 | ## Where the output files go. |
| 29 | ## Note that all the Info targets build the Info files in srcdir. | 27 | ## Note that all the Info targets build the Info files in srcdir. |
| 30 | ## There is no provision for Info files to exist in the build directory. | 28 | ## There is no provision for Info files to exist in the build directory. |
| @@ -222,7 +220,6 @@ mostlyclean: | |||
| 222 | 220 | ||
| 223 | clean: mostlyclean | 221 | clean: mostlyclean |
| 224 | rm -f *.dvi *.html *.pdf *.ps | 222 | rm -f *.dvi *.html *.pdf *.ps |
| 225 | rm -f emacs-misc-${version}.tar* | ||
| 226 | 223 | ||
| 227 | distclean: clean | 224 | distclean: clean |
| 228 | rm -f Makefile | 225 | rm -f Makefile |
| @@ -239,41 +236,6 @@ infoclean: | |||
| 239 | 236 | ||
| 240 | bootstrap-clean maintainer-clean: distclean infoclean | 237 | bootstrap-clean maintainer-clean: distclean infoclean |
| 241 | 238 | ||
| 242 | dist: | ||
| 243 | rm -rf emacs-misc-${version} | ||
| 244 | mkdir emacs-misc-${version} | ||
| 245 | cp ${srcdir}/*.texi ${srcdir}/texinfo.tex \ | ||
| 246 | $(emacsdir)/emacsver.texi ${srcdir}/ChangeLog* \ | ||
| 247 | emacs-misc-${version}/ | ||
| 248 | sed -e 's/@sr[c]dir@/./' \ | ||
| 249 | -e 's/^\(emacsdir *=\).*/\1 ./' \ | ||
| 250 | -e 's/^\(buildinfodir *=\).*/\1 ./' \ | ||
| 251 | -e 's/^\(clean:.*\)/\1 infoclean/' \ | ||
| 252 | -e "s/@ver[s]ion@/${version}/" \ | ||
| 253 | -e 's/@MAKE[I]NFO@/makeinfo/' -e 's/@MK[D]IR_P@/mkdir -p/' \ | ||
| 254 | -e 's/@IN[F]O_EXT@/.info/' -e 's/@IN[F]O_OPTS@//' \ | ||
| 255 | -e 's|@SH[E]LL@|/bin/bash|' \ | ||
| 256 | -e 's|@[p]refix@|/usr/local|' \ | ||
| 257 | -e 's|@[d]atarootdir@|$${prefix}/share|' \ | ||
| 258 | -e 's|@[d]atadir@|$${datarootdir}|' \ | ||
| 259 | -e 's|@[P]ACKAGE_TARNAME@|emacs|' \ | ||
| 260 | -e 's|@[d]ocdir@|$${datarootdir}/doc/$${PACKAGE_TARNAME}|' \ | ||
| 261 | -e 's|@[d]vidir@|$${docdir}|' \ | ||
| 262 | -e 's|@[h]tmldir@|$${docdir}|' \ | ||
| 263 | -e 's|@[p]dfdir@|$${docdir}|' \ | ||
| 264 | -e 's|@[p]sdir@|$${docdir}|' \ | ||
| 265 | -e 's|@[G]ZIP_PROG@|gzip|' \ | ||
| 266 | -e 's|@IN[S]TALL@|install -c|' \ | ||
| 267 | -e 's|@IN[S]TALL_DATA@|$${INSTALL} -m 644|' \ | ||
| 268 | -e '/@[c]onfigure_input@/d' \ | ||
| 269 | ${srcdir}/Makefile.in > emacs-misc-${version}/Makefile | ||
| 270 | @if grep '@[a-zA-Z_]*@' emacs-misc-${version}/Makefile; then \ | ||
| 271 | echo "Unexpanded configure variables in Makefile?" 1>&2; exit 1; \ | ||
| 272 | fi | ||
| 273 | tar -cf emacs-misc-${version}.tar emacs-misc-${version} | ||
| 274 | rm -rf emacs-misc-${version} | ||
| 275 | |||
| 276 | |||
| 277 | .PHONY: install-dvi install-html install-pdf install-ps install-doc | 239 | .PHONY: install-dvi install-html install-pdf install-ps install-doc |
| 278 | 240 | ||
| 279 | install-dvi: dvi | 241 | install-dvi: dvi |