aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorGlenn Morris2014-11-09 16:57:01 -0800
committerGlenn Morris2014-11-09 16:57:01 -0800
commit4e65e7e2b9f1966ada00ffb7480982495d48c463 (patch)
tree78d88d40a1bc68729e454abc1cc0e9872876043d /Makefile.in
parentd737aedbe8e8b4e7f2ca85075a5a75cea0481efb (diff)
downloademacs-4e65e7e2b9f1966ada00ffb7480982495d48c463.tar.gz
emacs-4e65e7e2b9f1966ada00ffb7480982495d48c463.zip
Stop keeping etc/refcards/emacsver.tex in the repository
* configure.ac (etc/refcards/emacsver.tex): Generate it. * Makefile.in (etc-emacsver): New PHONY rule. (bootstrap-clean): Delete etc/refcards/emacsver.tex. * admin/admin.el (set-version): No need to update etc/refcards/emacsver.tex. (set-copyright): Update etc/refcards/emacsver.tex.in. * etc/refcards/emacsver.tex.in: Rename from emacsver.tex. * .bzrignore: Add etc/refcards/emacsver.tex.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in14
1 files changed, 13 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 236e88cf103..458904710e0 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -288,7 +288,18 @@ COPYDESTS = "$(DESTDIR)${etcdir}" "$(DESTDIR)${lispdir}"
288 288
289all: ${SUBDIR} info 289all: ${SUBDIR} info
290 290
291.PHONY: all ${SUBDIR} blessmail epaths-force epaths-force-w32 291.PHONY: all ${SUBDIR} blessmail epaths-force epaths-force-w32 etc-emacsver
292
293# If configure were to just generate emacsver.tex from emacsver.tex.in
294# in the normal way, the timestamp of emacsver.tex would always be
295# newer than that of the pdf files, which are prebuilt in release tarfiles.
296# So we use this rule, and move-if-change, to avoid that.
297etc-emacsver:
298 majorversion=`echo ${version} | sed 's/\..*//'`; \
299 sed "s/[@]majorversion@/$${majorversion}/" \
300 ${srcdir}/etc/refcards/emacsver.tex.in > emacsver.tex.$$$$ && \
301 ${srcdir}/build-aux/move-if-change emacsver.tex.$$$$ \
302 ${srcdir}/etc/refcards/emacsver.tex
292 303
293removenullpaths=sed -e 's/^:*//' -e 's/:*$$//g' -e 's/::*/:/g' 304removenullpaths=sed -e 's/^:*//' -e 's/:*$$//g' -e 's/::*/:/g'
294 305
@@ -844,6 +855,7 @@ bootstrap-clean: $(distclean_dirs:=_bootstrap-clean)
844 done 855 done
845 [ ! -f config.log ] || mv -f config.log config.log~ 856 [ ! -f config.log ] || mv -f config.log config.log~
846 rm -rf ${srcdir}/info 857 rm -rf ${srcdir}/info
858 rm -f ${srcdir}/etc/refcards/emacsver.tex
847 ${top_bootclean} 859 ${top_bootclean}
848 860
849### `maintainer-clean' 861### `maintainer-clean'