aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorJan Djärv2010-05-22 13:59:09 +0200
committerJan Djärv2010-05-22 13:59:09 +0200
commit4e3028f8f788c646a184f74f13c6e8ec0bc61b81 (patch)
tree4682601000e007d61001e8f4fdc5170cb2e87dc1 /lib-src
parenta9641610c57dadb0c52518f15897910434936d4f (diff)
downloademacs-4e3028f8f788c646a184f74f13c6e8ec0bc61b81.tar.gz
emacs-4e3028f8f788c646a184f74f13c6e8ec0bc61b81.zip
Remove cirsular dependency when using separate build dir (Bug #6246).
* Makefile.in (STAMP_INST_SCRIPTS, STAMP_SCRIPS): New (Bug #6246). (all): Depend onSTAMP_INST_SCRIPTS, STAMP_SCRIPS (Bug #6246). (stamp-rcs2log, stamp-rcs-checkin, stamp-grep-changelog, stamp-vcdiff): New rules (Bug #6246). (clean): Remove stamp-* (Bug #6246).
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/ChangeLog8
-rw-r--r--lib-src/Makefile.in18
2 files changed, 20 insertions, 6 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index 36e2f29e58f..d2c7301fb6f 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,3 +1,11 @@
12010-05-22 Jan Djärv <jan.h.d@swipnet.se>
2
3 * Makefile.in (STAMP_INST_SCRIPTS, STAMP_SCRIPS): New (Bug #6246).
4 (all): Depend onSTAMP_INST_SCRIPTS, STAMP_SCRIPS (Bug #6246).
5 (stamp-rcs2log, stamp-rcs-checkin, stamp-grep-changelog, stamp-vcdiff):
6 New rules (Bug #6246).
7 (clean): Remove stamp-* (Bug #6246).
8
12010-05-12 Glenn Morris <rgm@gnu.org> 92010-05-12 Glenn Morris <rgm@gnu.org>
2 10
3 * Makefile.in (INSTALLABLES): Remove @LIB_SRC_EXTRA_INSTALLABLES@. 11 * Makefile.in (INSTALLABLES): Remove @LIB_SRC_EXTRA_INSTALLABLES@.
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in
index 6202feb890c..1c19dec276b 100644
--- a/lib-src/Makefile.in
+++ b/lib-src/Makefile.in
@@ -111,6 +111,7 @@ INSTALLABLES = etags${EXEEXT} ctags${EXEEXT} emacsclient${EXEEXT} \
111 b2m${EXEEXT} ebrowse${EXEEXT} 111 b2m${EXEEXT} ebrowse${EXEEXT}
112 112
113INSTALLABLE_SCRIPTS = rcs-checkin grep-changelog 113INSTALLABLE_SCRIPTS = rcs-checkin grep-changelog
114STAMP_INST_SCRIPTS = stamp-rcs-checkin stamp-grep-changelog
114 115
115# Things that Emacs runs internally, or during the build process, 116# Things that Emacs runs internally, or during the build process,
116# which should not be installed in bindir. 117# which should not be installed in bindir.
@@ -123,6 +124,7 @@ DONT_INSTALL= test-distrib${EXEEXT} make-docfile${EXEEXT}
123# Like UTILITIES, but they're not system-dependent, and should not be 124# Like UTILITIES, but they're not system-dependent, and should not be
124# deleted by the distclean target. 125# deleted by the distclean target.
125SCRIPTS= rcs2log vcdiff 126SCRIPTS= rcs2log vcdiff
127STAMP_SCRIPTS= stamp-rcs2log stamp-vcdiff
126 128
127EXECUTABLES= ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS} 129EXECUTABLES= ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS}
128 130
@@ -180,23 +182,27 @@ LOADLIBES=$(LIBS_SYSTEM)
180.c.o: 182.c.o:
181 ${CC} -c ${CPP_CFLAGS} $< 183 ${CC} -c ${CPP_CFLAGS} $<
182 184
183all: ${DONT_INSTALL} ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS} 185all: ${DONT_INSTALL} ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS} ${STAMP_INST_SCRIPTS} ${STAMP_SCRIPTS}
184 186
185## These targets copy the scripts into the build directory so that 187## These targets copy the scripts into the build directory so that
186## they can be run from there in an uninstalled Emacs. 188## they can be run from there in an uninstalled Emacs.
187## The "-" is prepended because some versions of cp barf when srcdir 189## The "-" is prepended because some versions of cp barf when srcdir
188## is the current directory, and thus the file will be copied into itself. 190## is the current directory, and thus the file will be copied into itself.
189rcs2log: $(srcdir)/rcs2log 191stamp-rcs2log: $(srcdir)/rcs2log
190 -cp -p $(srcdir)/rcs2log rcs2log 192 -cp -p $(srcdir)/rcs2log rcs2log
193 touch $@
191 194
192rcs-checkin: $(srcdir)/rcs-checkin 195stamp-rcs-checkin: $(srcdir)/rcs-checkin
193 -cp -p $(srcdir)/rcs-checkin rcs-checkin 196 -cp -p $(srcdir)/rcs-checkin rcs-checkin
197 touch $@
194 198
195grep-changelog: $(srcdir)/grep-changelog 199stamp-grep-changelog: $(srcdir)/grep-changelog
196 -cp -p $(srcdir)/grep-changelog grep-changelog 200 -cp -p $(srcdir)/grep-changelog grep-changelog
201 touch $@
197 202
198vcdiff: $(srcdir)/vcdiff 203stamp-vcdiff: $(srcdir)/vcdiff
199 -cp -p $(srcdir)/vcdiff vcdiff 204 -cp -p $(srcdir)/vcdiff vcdiff
205 touch $@
200 206
201## Only used if we need blessmail, but no harm in always defining. 207## Only used if we need blessmail, but no harm in always defining.
202## This makes the actual blessmail executable. 208## This makes the actual blessmail executable.
@@ -273,7 +279,7 @@ mostlyclean:
273 279
274clean: mostlyclean 280clean: mostlyclean
275 -rm -f ${INSTALLABLES} ${UTILITIES} ${DONT_INSTALL} 281 -rm -f ${INSTALLABLES} ${UTILITIES} ${DONT_INSTALL}
276 -rm -f fns*.el *.tab.c *.tab.h 282 -rm -f fns*.el *.tab.c *.tab.h stamp-*
277 283
278distclean: clean 284distclean: clean
279 -rm -f TAGS 285 -rm -f TAGS