diff options
| author | Jan Djärv | 2010-05-22 13:59:09 +0200 |
|---|---|---|
| committer | Jan Djärv | 2010-05-22 13:59:09 +0200 |
| commit | 4e3028f8f788c646a184f74f13c6e8ec0bc61b81 (patch) | |
| tree | 4682601000e007d61001e8f4fdc5170cb2e87dc1 /lib-src | |
| parent | a9641610c57dadb0c52518f15897910434936d4f (diff) | |
| download | emacs-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/ChangeLog | 8 | ||||
| -rw-r--r-- | lib-src/Makefile.in | 18 |
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 @@ | |||
| 1 | 2010-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 | |||
| 1 | 2010-05-12 Glenn Morris <rgm@gnu.org> | 9 | 2010-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 | ||
| 113 | INSTALLABLE_SCRIPTS = rcs-checkin grep-changelog | 113 | INSTALLABLE_SCRIPTS = rcs-checkin grep-changelog |
| 114 | STAMP_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. |
| 125 | SCRIPTS= rcs2log vcdiff | 126 | SCRIPTS= rcs2log vcdiff |
| 127 | STAMP_SCRIPTS= stamp-rcs2log stamp-vcdiff | ||
| 126 | 128 | ||
| 127 | EXECUTABLES= ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS} | 129 | EXECUTABLES= ${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 | ||
| 183 | all: ${DONT_INSTALL} ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS} | 185 | all: ${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. |
| 189 | rcs2log: $(srcdir)/rcs2log | 191 | stamp-rcs2log: $(srcdir)/rcs2log |
| 190 | -cp -p $(srcdir)/rcs2log rcs2log | 192 | -cp -p $(srcdir)/rcs2log rcs2log |
| 193 | touch $@ | ||
| 191 | 194 | ||
| 192 | rcs-checkin: $(srcdir)/rcs-checkin | 195 | stamp-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 | ||
| 195 | grep-changelog: $(srcdir)/grep-changelog | 199 | stamp-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 | ||
| 198 | vcdiff: $(srcdir)/vcdiff | 203 | stamp-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 | ||
| 274 | clean: mostlyclean | 280 | clean: 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 | ||
| 278 | distclean: clean | 284 | distclean: clean |
| 279 | -rm -f TAGS | 285 | -rm -f TAGS |