diff options
| author | Glenn Morris | 2014-11-08 18:02:51 -0800 |
|---|---|---|
| committer | Glenn Morris | 2014-11-08 18:02:51 -0800 |
| commit | e4ed201ff9e089d8a074523ca7de02c1b84bece2 (patch) | |
| tree | c93609d8639a0cfa5310f9867a98a2dcaab24bf9 | |
| parent | d1036d288de1e047f7f6043188a1063f0d6b044d (diff) | |
| download | emacs-e4ed201ff9e089d8a074523ca7de02c1b84bece2.tar.gz emacs-e4ed201ff9e089d8a074523ca7de02c1b84bece2.zip | |
Replace doc/*/Makefile.in dist rules with code in admin/admin.el
* admin/admin.el (make-manuals-dist-output-variables)
(make-manuals-dist--1, make-manuals-dist): New.
Replaces doc/*/Makefile.in `dist' rules.
* doc/emacs/Makefile.in (version): Remove variable.
(clean): No longer delete dist tarfile.
(dist): Remove rule; replace with code in admin.el.
* doc/lispintro/Makefile.in (version): Remove variable.
(clean): No longer delete dist tarfile.
(dist): Remove rule; replace with code in admin.el.
* doc/lispref/Makefile.in (version): Remove variable.
(clean): No longer delete dist tarfile.
(dist): Remove rule; replace with code in admin.el.
* doc/misc/Makefile.in (version): Remove variable.
(clean): No longer delete dist tarfile.
(dist): Remove rule; replace with code in admin.el.
| -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 4fb8d47579b..7a86773c04f 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-10-31 Eli Zaretskii <eliz@gnu.org> | 7 | 2014-10-31 Eli Zaretskii <eliz@gnu.org> |
| 2 | 8 | ||
| 3 | * notes/repo (Notes): Reword the stylistic guidance for commit log | 9 | * notes/repo (Notes): Reword the stylistic guidance for commit log |
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 9bf256945b8..8eb2083598c 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-01 Glenn Morris <rgm@gnu.org> | 7 | 2014-11-01 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 1d686959934..5a915561744 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 |
| @@ -192,7 +189,6 @@ mostlyclean: | |||
| 192 | ## Products not in the release tarfiles. | 189 | ## Products not in the release tarfiles. |
| 193 | clean: mostlyclean | 190 | clean: mostlyclean |
| 194 | rm -f $(DVI_TARGETS) $(HTML_TARGETS) $(PDF_TARGETS) $(PS_TARGETS) | 191 | rm -f $(DVI_TARGETS) $(HTML_TARGETS) $(PDF_TARGETS) $(PS_TARGETS) |
| 195 | rm -f emacs-manual-${version}.tar* | ||
| 196 | 192 | ||
| 197 | distclean: clean | 193 | distclean: clean |
| 198 | rm -f Makefile | 194 | rm -f Makefile |
| @@ -203,44 +199,6 @@ infoclean: | |||
| 203 | 199 | ||
| 204 | maintainer-clean: distclean infoclean | 200 | maintainer-clean: distclean infoclean |
| 205 | 201 | ||
| 206 | .PHONY: dist | ||
| 207 | |||
| 208 | ## Make a standalone tarfile of the Emacs manual sources. | ||
| 209 | ## The [c] is a dumb way to prevent configure expanding it. | ||
| 210 | ## TODO this is getting increasingly lengthy; not sure it is worth keeping. | ||
| 211 | dist: | ||
| 212 | rm -rf emacs-manual-${version} | ||
| 213 | mkdir emacs-manual-${version} | ||
| 214 | cp ${srcdir}/*.texi ${texinfodir}/texinfo.tex \ | ||
| 215 | ${srcdir}/ChangeLog* emacs-manual-${version}/ | ||
| 216 | sed -e 's/@sr[c]dir@/./' -e 's/^\(texinfodir *=\).*/\1 ./' \ | ||
| 217 | -e 's/^\(buildinfodir *=\).*/\1 ./' \ | ||
| 218 | -e 's/^\(clean:.*\)/\1 infoclean/' \ | ||
| 219 | -e "s/@ver[s]ion@/${version}/" \ | ||
| 220 | -e 's/@MAKE[I]NFO@/makeinfo/' -e 's/@MK[D]IR_P@/mkdir -p/' \ | ||
| 221 | -e 's/@IN[F]O_EXT@/.info/' -e 's/@IN[F]O_OPTS@//' \ | ||
| 222 | -e 's|@SH[E]LL@|/bin/bash|' \ | ||
| 223 | -e 's|@[p]refix@|/usr/local|' \ | ||
| 224 | -e 's|@[d]atarootdir@|$${prefix}/share|' \ | ||
| 225 | -e 's|@[d]atadir@|$${datarootdir}|' \ | ||
| 226 | -e 's|@[P]ACKAGE_TARNAME@|emacs|' \ | ||
| 227 | -e 's|@[d]ocdir@|$${datarootdir}/doc/$${PACKAGE_TARNAME}|' \ | ||
| 228 | -e 's|@[d]vidir@|$${docdir}|' \ | ||
| 229 | -e 's|@[h]tmldir@|$${docdir}|' \ | ||
| 230 | -e 's|@[p]dfdir@|$${docdir}|' \ | ||
| 231 | -e 's|@[p]sdir@|$${docdir}|' \ | ||
| 232 | -e 's|@[G]ZIP_PROG@|gzip|' \ | ||
| 233 | -e 's|@IN[S]TALL@|install -c|' \ | ||
| 234 | -e 's|@IN[S]TALL_DATA@|$${INSTALL} -m 644|' \ | ||
| 235 | -e '/@[c]onfigure_input@/d' \ | ||
| 236 | ${srcdir}/Makefile.in > emacs-manual-${version}/Makefile | ||
| 237 | @if grep '@[a-zA-Z_]*@' emacs-manual-${version}/Makefile; then \ | ||
| 238 | echo "Unexpanded configure variables in Makefile?" 1>&2; exit 1; \ | ||
| 239 | fi | ||
| 240 | tar -cf emacs-manual-${version}.tar emacs-manual-${version} | ||
| 241 | rm -rf emacs-manual-${version} | ||
| 242 | |||
| 243 | |||
| 244 | .PHONY: install-dvi install-html install-pdf install-ps install-doc | 202 | .PHONY: install-dvi install-html install-pdf install-ps install-doc |
| 245 | 203 | ||
| 246 | install-dvi: dvi | 204 | install-dvi: dvi |
diff --git a/doc/lispintro/ChangeLog b/doc/lispintro/ChangeLog index fb9c18626ab..7dfae71f43d 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 | * emacs-lisp-intro.texi (Autoload): Update loaddefs.el details. | 9 | * emacs-lisp-intro.texi (Autoload): Update loaddefs.el details. |
diff --git a/doc/lispintro/Makefile.in b/doc/lispintro/Makefile.in index f88a8cb419b..246de23e26b 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. |
| @@ -110,7 +107,6 @@ mostlyclean: | |||
| 110 | 107 | ||
| 111 | clean: mostlyclean | 108 | clean: mostlyclean |
| 112 | rm -f $(DVI_TARGETS) $(HTML_TARGETS) $(PDF_TARGETS) $(PS_TARGETS) | 109 | rm -f $(DVI_TARGETS) $(HTML_TARGETS) $(PDF_TARGETS) $(PS_TARGETS) |
| 113 | rm -f emacs-lispintro-${version}.tar* | ||
| 114 | 110 | ||
| 115 | distclean: clean | 111 | distclean: clean |
| 116 | rm -f Makefile | 112 | rm -f Makefile |
| @@ -120,43 +116,6 @@ infoclean: | |||
| 120 | 116 | ||
| 121 | maintainer-clean: distclean infoclean | 117 | 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 f72e1054c5f..9123194d7eb 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-10-20 Glenn Morris <rgm@gnu.org> | 7 | 2014-10-20 Glenn Morris <rgm@gnu.org> |
| 2 | 8 | ||
| 3 | * Version 24.4 released. | 9 | * Version 24.4 released. |
diff --git a/doc/lispref/Makefile.in b/doc/lispref/Makefile.in index fdb643e0fc8..c120d123c45 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 |
| @@ -165,7 +163,6 @@ mostlyclean: | |||
| 165 | clean: mostlyclean | 163 | clean: mostlyclean |
| 166 | rm -f $(DVI_TARGETS) $(HTML_TARGETS) $(PDF_TARGETS) $(PS_TARGETS) | 164 | rm -f $(DVI_TARGETS) $(HTML_TARGETS) $(PDF_TARGETS) $(PS_TARGETS) |
| 167 | rm -f vol[12].dvi vol[12].pdf vol[12].ps | 165 | rm -f vol[12].dvi vol[12].pdf vol[12].ps |
| 168 | rm -f emacs-lispref-${version}.tar* | ||
| 169 | 166 | ||
| 170 | distclean: clean | 167 | distclean: clean |
| 171 | rm -f Makefile | 168 | rm -f Makefile |
| @@ -175,43 +172,6 @@ infoclean: | |||
| 175 | 172 | ||
| 176 | maintainer-clean: distclean infoclean | 173 | maintainer-clean: distclean infoclean |
| 177 | 174 | ||
| 178 | .PHONY: dist | ||
| 179 | |||
| 180 | ## Note this excludes the two-volume stuff. | ||
| 181 | dist: | ||
| 182 | rm -rf emacs-lispref-${version} | ||
| 183 | mkdir emacs-lispref-${version} | ||
| 184 | cp ${srcdir}/*.texi ${texinfodir}/texinfo.tex \ | ||
| 185 | $(emacsdir)/emacsver.texi ${srcdir}/ChangeLog* \ | ||
| 186 | ${srcdir}/README emacs-lispref-${version}/ | ||
| 187 | sed -e 's/@sr[c]dir@/./' -e 's/^\(texinfodir *=\).*/\1 ./' \ | ||
| 188 | -e 's/^\(emacsdir *=\).*/\1 ./' \ | ||
| 189 | -e 's/^\(buildinfodir *=\).*/\1 ./' \ | ||
| 190 | -e 's/^\(clean:.*\)/\1 infoclean/' \ | ||
| 191 | -e "s/@ver[s]ion@/${version}/" \ | ||
| 192 | -e 's/@MAKE[I]NFO@/makeinfo/' -e 's/@MK[D]IR_P@/mkdir -p/' \ | ||
| 193 | -e 's/@IN[F]O_EXT@/.info/' -e 's/@IN[F]O_OPTS@//' \ | ||
| 194 | -e 's|@SH[E]LL@|/bin/bash|' \ | ||
| 195 | -e 's|@[p]refix@|/usr/local|' \ | ||
| 196 | -e 's|@[d]atarootdir@|$${prefix}/share|' \ | ||
| 197 | -e 's|@[d]atadir@|$${datarootdir}|' \ | ||
| 198 | -e 's|@[P]ACKAGE_TARNAME@|emacs|' \ | ||
| 199 | -e 's|@[d]ocdir@|$${datarootdir}/doc/$${PACKAGE_TARNAME}|' \ | ||
| 200 | -e 's|@[d]vidir@|$${docdir}|' \ | ||
| 201 | -e 's|@[h]tmldir@|$${docdir}|' \ | ||
| 202 | -e 's|@[p]dfdir@|$${docdir}|' \ | ||
| 203 | -e 's|@[p]sdir@|$${docdir}|' \ | ||
| 204 | -e 's|@[G]ZIP_PROG@|gzip|' \ | ||
| 205 | -e 's|@IN[S]TALL@|install -c|' \ | ||
| 206 | -e 's|@IN[S]TALL_DATA@|$${INSTALL} -m 644|' \ | ||
| 207 | -e '/@[c]onfigure_input@/d' \ | ||
| 208 | ${srcdir}/Makefile.in > emacs-lispref-${version}/Makefile | ||
| 209 | @if grep '@[a-zA-Z_]*@' emacs-lispref-${version}/Makefile; then \ | ||
| 210 | echo "Unexpanded configure variables in Makefile?" 1>&2; exit 1; \ | ||
| 211 | fi | ||
| 212 | tar -cf emacs-lispref-${version}.tar emacs-lispref-${version} | ||
| 213 | rm -rf emacs-lispref-${version} | ||
| 214 | |||
| 215 | .PHONY: install-dvi install-html install-pdf install-ps install-doc | 175 | .PHONY: install-dvi install-html install-pdf install-ps install-doc |
| 216 | 176 | ||
| 217 | install-dvi: dvi | 177 | install-dvi: dvi |
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index cd35a111dbb..0a02b733890 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 Michael Albinus <michael.albinus@gmx.de> | 7 | 2014-11-08 Michael Albinus <michael.albinus@gmx.de> |
| 2 | 8 | ||
| 3 | Backport Tramp changes from trunk. | 9 | Backport Tramp changes from trunk. |
diff --git a/doc/misc/Makefile.in b/doc/misc/Makefile.in index 4254ebefde7..6eeec4acadb 100644 --- a/doc/misc/Makefile.in +++ b/doc/misc/Makefile.in | |||
| @@ -24,8 +24,6 @@ SHELL = @SHELL@ | |||
| 24 | # set by the configure script's `--srcdir' option. | 24 | # set by the configure script's `--srcdir' option. |
| 25 | srcdir=@srcdir@ | 25 | srcdir=@srcdir@ |
| 26 | 26 | ||
| 27 | version=@version@ | ||
| 28 | |||
| 29 | ## Where the output files go. | 27 | ## Where the output files go. |
| 30 | buildinfodir = $(srcdir)/../../info | 28 | buildinfodir = $(srcdir)/../../info |
| 31 | ## Directory with emacsver.texi. | 29 | ## Directory with emacsver.texi. |
| @@ -863,7 +861,6 @@ mostlyclean: | |||
| 863 | clean: mostlyclean | 861 | clean: mostlyclean |
| 864 | rm -f $(DVI_TARGETS) $(HTML_TARGETS) $(PDF_TARGETS) $(PS_TARGETS) | 862 | rm -f $(DVI_TARGETS) $(HTML_TARGETS) $(PDF_TARGETS) $(PS_TARGETS) |
| 865 | rm -f efaq-w32.dvi efaq-w32.html efaq-w32.pdf efaq-w32.ps | 863 | rm -f efaq-w32.dvi efaq-w32.html efaq-w32.pdf efaq-w32.ps |
| 866 | rm -f emacs-misc-${version}.tar* | ||
| 867 | 864 | ||
| 868 | distclean: clean | 865 | distclean: clean |
| 869 | rm -f Makefile | 866 | rm -f Makefile |
| @@ -877,41 +874,6 @@ infoclean: | |||
| 877 | 874 | ||
| 878 | maintainer-clean: distclean infoclean | 875 | maintainer-clean: distclean infoclean |
| 879 | 876 | ||
| 880 | dist: | ||
| 881 | rm -rf emacs-misc-${version} | ||
| 882 | mkdir emacs-misc-${version} | ||
| 883 | cp ${srcdir}/*.texi ${srcdir}/texinfo.tex \ | ||
| 884 | $(emacsdir)/emacsver.texi ${srcdir}/ChangeLog* \ | ||
| 885 | emacs-misc-${version}/ | ||
| 886 | sed -e 's/@sr[c]dir@/./' \ | ||
| 887 | -e 's/^\(emacsdir *=\).*/\1 ./' \ | ||
| 888 | -e 's/^\(buildinfodir *=\).*/\1 ./' \ | ||
| 889 | -e 's/^\(clean:.*\)/\1 infoclean/' \ | ||
| 890 | -e "s/@ver[s]ion@/${version}/" \ | ||
| 891 | -e 's/@MAKE[I]NFO@/makeinfo/' -e 's/@MK[D]IR_P@/mkdir -p/' \ | ||
| 892 | -e 's/@IN[F]O_EXT@/.info/' -e 's/@IN[F]O_OPTS@//' \ | ||
| 893 | -e 's|@SH[E]LL@|/bin/bash|' \ | ||
| 894 | -e 's|@[p]refix@|/usr/local|' \ | ||
| 895 | -e 's|@[d]atarootdir@|$${prefix}/share|' \ | ||
| 896 | -e 's|@[d]atadir@|$${datarootdir}|' \ | ||
| 897 | -e 's|@[P]ACKAGE_TARNAME@|emacs|' \ | ||
| 898 | -e 's|@[d]ocdir@|$${datarootdir}/doc/$${PACKAGE_TARNAME}|' \ | ||
| 899 | -e 's|@[d]vidir@|$${docdir}|' \ | ||
| 900 | -e 's|@[h]tmldir@|$${docdir}|' \ | ||
| 901 | -e 's|@[p]dfdir@|$${docdir}|' \ | ||
| 902 | -e 's|@[p]sdir@|$${docdir}|' \ | ||
| 903 | -e 's|@[G]ZIP_PROG@|gzip|' \ | ||
| 904 | -e 's|@IN[S]TALL@|install -c|' \ | ||
| 905 | -e 's|@IN[S]TALL_DATA@|$${INSTALL} -m 644|' \ | ||
| 906 | -e '/@[c]onfigure_input@/d' \ | ||
| 907 | ${srcdir}/Makefile.in > emacs-misc-${version}/Makefile | ||
| 908 | @if grep '@[a-zA-Z_]*@' emacs-misc-${version}/Makefile; then \ | ||
| 909 | echo "Unexpanded configure variables in Makefile?" 1>&2; exit 1; \ | ||
| 910 | fi | ||
| 911 | tar -cf emacs-misc-${version}.tar emacs-misc-${version} | ||
| 912 | rm -rf emacs-misc-${version} | ||
| 913 | |||
| 914 | |||
| 915 | .PHONY: install-dvi install-html install-pdf install-ps install-doc | 877 | .PHONY: install-dvi install-html install-pdf install-ps install-doc |
| 916 | 878 | ||
| 917 | install-dvi: dvi | 879 | install-dvi: dvi |