diff options
| author | Glenn Morris | 2012-05-21 20:46:40 -0400 |
|---|---|---|
| committer | Glenn Morris | 2012-05-21 20:46:40 -0400 |
| commit | 35c46c2f9a7d5c241f7ba2b8d7b4015091a9cca2 (patch) | |
| tree | b7d9008c03d0b3c452da484ab24ea7e1c703cff9 | |
| parent | ff0c3cfb2ff6e16f601d3745b9302bf9486a7c0f (diff) | |
| download | emacs-35c46c2f9a7d5c241f7ba2b8d7b4015091a9cca2.tar.gz emacs-35c46c2f9a7d5c241f7ba2b8d7b4015091a9cca2.zip | |
Remove leim/Makefile.in's SUBDIRS
It isn't necessary given MKDIR_P, and I have some vague memory that
the time-stamping was causing unncessary re-dumping in some instance.
* leim/Makefile.in (SUBDIRS): Remove variable and rule.
(MKDIR_P): Add it back.
(all, changed.tit, changed.misc, leim-list.el): Don't depend on SUBDIRS.
(changed.tit, changed.misc): Ensure output directory exists.
(distclean): Don't use SUBDIRS.
| -rw-r--r-- | leim/ChangeLog | 9 | ||||
| -rw-r--r-- | leim/Makefile.in | 23 |
2 files changed, 17 insertions, 15 deletions
diff --git a/leim/ChangeLog b/leim/ChangeLog index 099e69423c0..ddaa404916d 100644 --- a/leim/ChangeLog +++ b/leim/ChangeLog | |||
| @@ -1,3 +1,12 @@ | |||
| 1 | 2012-05-22 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * Makefile.in (SUBDIRS): Remove variable and rule. | ||
| 4 | (MKDIR_P): Add it back. | ||
| 5 | (all, changed.tit, changed.misc, leim-list.el): | ||
| 6 | Don't depend on SUBDIRS. | ||
| 7 | (changed.tit, changed.misc): Ensure output directory exists. | ||
| 8 | (distclean): Don't use SUBDIRS. | ||
| 9 | |||
| 1 | 2012-05-21 Glenn Morris <rgm@gnu.org> | 10 | 2012-05-21 Glenn Morris <rgm@gnu.org> |
| 2 | 11 | ||
| 3 | * Makefile.in (install): Remove, let top-level do it. | 12 | * Makefile.in (install): Remove, let top-level do it. |
diff --git a/leim/Makefile.in b/leim/Makefile.in index 1cda73b3492..04f64c0ce0b 100644 --- a/leim/Makefile.in +++ b/leim/Makefile.in | |||
| @@ -39,9 +39,7 @@ buildlisppath=${srcdir}/../lisp | |||
| 39 | RUN_EMACS = EMACSLOADPATH=$(buildlisppath) LC_ALL=C \ | 39 | RUN_EMACS = EMACSLOADPATH=$(buildlisppath) LC_ALL=C \ |
| 40 | ${EMACS} -batch --no-site-file --no-site-lisp | 40 | ${EMACS} -batch --no-site-file --no-site-lisp |
| 41 | 41 | ||
| 42 | # Subdirectories to be made if ${srcdir} is different from the current | 42 | MKDIR_P = @MKDIR_P@ |
| 43 | # directory. | ||
| 44 | SUBDIRS=quail | ||
| 45 | 43 | ||
| 46 | # Files generated from TIT dictionaries for Chinese GB character set. | 44 | # Files generated from TIT dictionaries for Chinese GB character set. |
| 47 | TIT_GB=\ | 45 | TIT_GB=\ |
| @@ -83,11 +81,7 @@ TIT_MISC=${CHINESE_TIT} ${MISC} | |||
| 83 | @echo Compiling $< | 81 | @echo Compiling $< |
| 84 | @${RUN_EMACS} -l ${buildlisppath}/international/quail -f batch-byte-compile $< | 82 | @${RUN_EMACS} -l ${buildlisppath}/international/quail -f batch-byte-compile $< |
| 85 | 83 | ||
| 86 | all: ${SUBDIRS} leim-list.el compile-main | 84 | all: leim-list.el compile-main |
| 87 | |||
| 88 | ${SUBDIRS}: | ||
| 89 | mkdir $@ | ||
| 90 | touch stamp-subdir | ||
| 91 | 85 | ||
| 92 | TIT_SOURCES= \ | 86 | TIT_SOURCES= \ |
| 93 | ${srcdir}/CXTERM-DIC/4Corner.tit \ | 87 | ${srcdir}/CXTERM-DIC/4Corner.tit \ |
| @@ -107,9 +101,6 @@ TIT_SOURCES= \ | |||
| 107 | ${CHINESE_TIT}: changed.tit | 101 | ${CHINESE_TIT}: changed.tit |
| 108 | @true | 102 | @true |
| 109 | 103 | ||
| 110 | ## FIXME remove subdirs if possible - time-stamping. | ||
| 111 | ## Emacs should make the directory if it does not exist. | ||
| 112 | |||
| 113 | ## The changed.* files act to serialize this part of the build. | 104 | ## The changed.* files act to serialize this part of the build. |
| 114 | ## A single Emacs invocation creates all the CHINESE_TIT files. | 105 | ## A single Emacs invocation creates all the CHINESE_TIT files. |
| 115 | ## Otherwise in a parallel build multiple Emacs instances could | 106 | ## Otherwise in a parallel build multiple Emacs instances could |
| @@ -118,7 +109,8 @@ ${CHINESE_TIT}: changed.tit | |||
| 118 | ## file. Something like the pattern rule: | 109 | ## file. Something like the pattern rule: |
| 119 | ## quail/%.el: CXTERM-DIC/%.tit | 110 | ## quail/%.el: CXTERM-DIC/%.tit |
| 120 | ## It doesn't seem possible to do this with VPATH and suffix rules. | 111 | ## It doesn't seem possible to do this with VPATH and suffix rules. |
| 121 | changed.tit: ${SUBDIRS} ${TIT_SOURCES} | 112 | changed.tit: ${TIT_SOURCES} |
| 113 | @${MKDIR_P} quail | ||
| 122 | ${RUN_EMACS} -l ${buildlisppath}/international/titdic-cnv \ | 114 | ${RUN_EMACS} -l ${buildlisppath}/international/titdic-cnv \ |
| 123 | -f batch-titdic-convert -dir quail ${srcdir}/CXTERM-DIC; \ | 115 | -f batch-titdic-convert -dir quail ${srcdir}/CXTERM-DIC; \ |
| 124 | echo "changed" > $@ | 116 | echo "changed" > $@ |
| @@ -134,12 +126,13 @@ MISC_SOURCES= \ | |||
| 134 | ${MISC}: changed.misc | 126 | ${MISC}: changed.misc |
| 135 | @true | 127 | @true |
| 136 | 128 | ||
| 137 | changed.misc: ${SUBDIRS} ${MISC_SOURCES} | 129 | changed.misc: ${MISC_SOURCES} |
| 130 | @${MKDIR_P} quail | ||
| 138 | ${RUN_EMACS} -l ${buildlisppath}/international/titdic-cnv \ | 131 | ${RUN_EMACS} -l ${buildlisppath}/international/titdic-cnv \ |
| 139 | -f batch-miscdic-convert -dir quail ${srcdir}/MISC-DIC; \ | 132 | -f batch-miscdic-convert -dir quail ${srcdir}/MISC-DIC; \ |
| 140 | echo "changed" > $@ | 133 | echo "changed" > $@ |
| 141 | 134 | ||
| 142 | leim-list.el: ${SUBDIRS} ${TIT_MISC} ${srcdir}/leim-ext.el | 135 | leim-list.el: ${TIT_MISC} ${srcdir}/leim-ext.el |
| 143 | rm -f leim-list.el | 136 | rm -f leim-list.el |
| 144 | if [ x`cd ${srcdir} && /bin/pwd` = x`/bin/pwd` ] ; then \ | 137 | if [ x`cd ${srcdir} && /bin/pwd` = x`/bin/pwd` ] ; then \ |
| 145 | ${RUN_EMACS} -l ${buildlisppath}/international/quail \ | 138 | ${RUN_EMACS} -l ${buildlisppath}/international/quail \ |
| @@ -184,7 +177,7 @@ bootstrap-clean: clean | |||
| 184 | $(setwins); for w in $$wins; do rm -f $$w/*.elc; done | 177 | $(setwins); for w in $$wins; do rm -f $$w/*.elc; done |
| 185 | 178 | ||
| 186 | distclean: clean | 179 | distclean: clean |
| 187 | if test -f stamp-subdir; then rm -rf ${SUBDIRS} stamp-subdir; fi | 180 | -[ `cd ${srcdir} && /bin/pwd` != `/bin/pwd` ] && rm -rf quail |
| 188 | rm -f Makefile | 181 | rm -f Makefile |
| 189 | 182 | ||
| 190 | maintainer-clean: distclean bootstrap-clean | 183 | maintainer-clean: distclean bootstrap-clean |