diff options
| author | Glenn Morris | 2010-10-06 19:23:28 -0700 |
|---|---|---|
| committer | Glenn Morris | 2010-10-06 19:23:28 -0700 |
| commit | 17ca79503537b602969bd373c6463caa03c3d5c1 (patch) | |
| tree | 91c4d70fdc93352afad87b8d4cefb78b7f451d88 /doc/lispref | |
| parent | fd9ba500f5f58549e0210a2334c38ba0916257d9 (diff) | |
| download | emacs-17ca79503537b602969bd373c6463caa03c3d5c1.tar.gz emacs-17ca79503537b602969bd373c6463caa03c3d5c1.zip | |
Include version number in doc `make dist' tarfiles.
* doc/lispref/Makefile.in (version): New, set by configure.
(clean): Delete dist tar file.
(dist): Use version in tar name.
* doc/lispintro/Makefile.in (version): New, set by configure.
(clean): Delete dist tar file.
(dist): Use version in tar name.
* doc/emacs/Makefile.in (version): New, set by configure.
(clean): Delete dist tar file.
(dist): Use version in tar name.
Diffstat (limited to 'doc/lispref')
| -rw-r--r-- | doc/lispref/ChangeLog | 13 | ||||
| -rw-r--r-- | doc/lispref/Makefile.in | 16 |
2 files changed, 18 insertions, 11 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 7edf32e6f40..102866b0a82 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2010-10-07 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * Makefile.in (version): New, set by configure. | ||
| 4 | (clean): Delete dist tar file. | ||
| 5 | (dist): Use version in tar name. | ||
| 6 | |||
| 1 | 2010-10-06 Glenn Morris <rgm@gnu.org> | 7 | 2010-10-06 Glenn Morris <rgm@gnu.org> |
| 2 | 8 | ||
| 3 | * Makefile.in: Rearrange to more closely resemble doc/emacs/Makefile. | 9 | * Makefile.in: Rearrange to more closely resemble doc/emacs/Makefile. |
| @@ -8684,11 +8690,10 @@ | |||
| 8684 | 8690 | ||
| 8685 | ;; Local Variables: | 8691 | ;; Local Variables: |
| 8686 | ;; coding: utf-8 | 8692 | ;; coding: utf-8 |
| 8687 | ;; add-log-time-zone-rule: t | ||
| 8688 | ;; End: | 8693 | ;; End: |
| 8689 | 8694 | ||
| 8690 | Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, | 8695 | Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, |
| 8691 | 2007, 2008, 2009, 2010 Free Software Foundation, Inc. | 8696 | 2007, 2008, 2009, 2010 Free Software Foundation, Inc. |
| 8692 | 8697 | ||
| 8693 | This file is part of GNU Emacs. | 8698 | This file is part of GNU Emacs. |
| 8694 | 8699 | ||
| @@ -8704,5 +8709,3 @@ | |||
| 8704 | 8709 | ||
| 8705 | You should have received a copy of the GNU General Public License | 8710 | You should have received a copy of the GNU General Public License |
| 8706 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. | 8711 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
| 8707 | |||
| 8708 | ;;; arch-tag: 985ae0ce-df29-475b-b3f8-4bbcbf6f7fda | ||
diff --git a/doc/lispref/Makefile.in b/doc/lispref/Makefile.in index 90b95820ed6..b91b05dce2a 100644 --- a/doc/lispref/Makefile.in +++ b/doc/lispref/Makefile.in | |||
| @@ -27,6 +27,8 @@ srcdir = @srcdir@ | |||
| 27 | # Tell make where to find source files; this is needed for the makefiles. | 27 | # Tell make where to find source files; this is needed for the makefiles. |
| 28 | VPATH=@srcdir@ | 28 | VPATH=@srcdir@ |
| 29 | 29 | ||
| 30 | version=@version@ | ||
| 31 | |||
| 30 | infodir = ../../info | 32 | infodir = ../../info |
| 31 | # Directory with the (customized) texinfo.tex file. | 33 | # Directory with the (customized) texinfo.tex file. |
| 32 | texinfodir = $(srcdir)/../misc | 34 | texinfodir = $(srcdir)/../misc |
| @@ -118,6 +120,7 @@ mostlyclean: | |||
| 118 | 120 | ||
| 119 | clean: mostlyclean | 121 | clean: mostlyclean |
| 120 | rm -f elisp.dvi elisp.pdf vol[12].pdf | 122 | rm -f elisp.dvi elisp.pdf vol[12].pdf |
| 123 | rm -f emacs-lispref-${version}.tar* | ||
| 121 | 124 | ||
| 122 | distclean: clean | 125 | distclean: clean |
| 123 | 126 | ||
| @@ -128,14 +131,15 @@ maintainer-clean: distclean infoclean | |||
| 128 | 131 | ||
| 129 | ## Note this excludes the two-volume stuff. | 132 | ## Note this excludes the two-volume stuff. |
| 130 | dist: | 133 | dist: |
| 131 | rm -rf lispref | 134 | rm -rf emacs-lispref-${version} |
| 132 | mkdir lispref | 135 | mkdir emacs-lispref-${version} |
| 133 | cp ${srcdir}/*.texi ${texinfodir}/texinfo.tex \ | 136 | cp ${srcdir}/*.texi ${texinfodir}/texinfo.tex \ |
| 134 | ${srcdir}/ChangeLog* ${srcdir}/README lispref/ | 137 | ${srcdir}/ChangeLog* ${srcdir}/README emacs-lispref-${version}/ |
| 135 | sed -e 's/@sr[c]dir@/./' -e 's/\(texinfodir *=\).*/\1 ./' \ | 138 | sed -e 's/@sr[c]dir@/./' -e 's/\(texinfodir *=\).*/\1 ./' \ |
| 136 | -e 's/\(infodir *=\).*/\1 ./' -e 's/^\(clean:.*\)/\1 infoclean/' \ | 139 | -e 's/\(infodir *=\).*/\1 ./' -e 's/^\(clean:.*\)/\1 infoclean/' \ |
| 137 | ${srcdir}/Makefile.in > lispref/Makefile | 140 | -e "s/@ver[s]ion@/${version}/" \ |
| 138 | tar -cf elisp-texi.tar lispref | 141 | ${srcdir}/Makefile.in > emacs-lispref-${version}/Makefile |
| 139 | rm -rf lispref | 142 | tar -cf emacs-lispref-${version}.tar emacs-lispref-${version} |
| 143 | rm -rf emacs-lispref-${version} | ||
| 140 | 144 | ||
| 141 | ### Makefile ends here | 145 | ### Makefile ends here |