diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2011-01-27 17:51:41 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-01-27 17:51:41 -0800 |
commit | 68b5f85576f56aa6cfbfd73f916a9f2a1f35679c (patch) | |
tree | d1a6dd9097ea8120bed8b48aee622b47216669e2 /leim | |
parent | 8bb578b203e08150696165d8abe8bac7dc349e40 (diff) | |
download | emacs-68b5f85576f56aa6cfbfd73f916a9f2a1f35679c.tar.gz |
Redo spelling of Makefile variables to conform to POSIX.
Diffstat (limited to 'leim')
-rw-r--r-- | leim/ChangeLog | 19 | ||||
-rw-r--r-- | leim/Makefile.in | 58 |
2 files changed, 48 insertions, 29 deletions
diff --git a/leim/ChangeLog b/leim/ChangeLog index 519d91df26e..6f55095aac7 100644 --- a/leim/ChangeLog +++ b/leim/ChangeLog @@ -1,3 +1,22 @@ +2011-01-28 Paul Eggert <eggert@cs.ucla.edu> + + Redo spelling of Makefile variables to conform to POSIX. + POSIX does not allow "-" in Makefile variable names. + Reported by Bruno Haible in + <http://lists.gnu.org/archive/html/emacs-devel/2011-01/msg00990.html>. + * Makefile.in (BUILT_EMACS): Renamed from BUILT-EMACS. + (TIT_GB): Renamed from TIT-GB. + (CHINESE_TIT): Renamed from CHINESE-TIT. + (NON_TIT_GB): Renamed from NON-TIT-GB. + (NON_TIT_BIG5): Renamed from NON-TIT-BIG5. + (CHINESE_NON_TIT): Renamed from CHINESE-NON-TIT. + (CHINESE_GB): Renamed from CHINESE-GB. + (CHINESE_BIG5): Renamed from CHINESE-BIG5. + (TIT_MISC): Renamed from TIT-MISC. + (NON_TIT_MISC): Renamed from NON-TIT-MISC. + (TIT_SOURCES): Renamed from TIT-SOURCES. + (MISC_SOURCES): Renamed from MISC-SOURCES. + 2011-01-08 Glenn Morris <rgm@gnu.org> * makefile.w32-in (RUN_EMACS): diff --git a/leim/Makefile.in b/leim/Makefile.in index 037d991ae3a..8c2baadf15f 100644 --- a/leim/Makefile.in +++ b/leim/Makefile.in @@ -41,20 +41,20 @@ GZIP_PROG = @GZIP_PROG@ # Which Emacs to use to convert TIT files to Emacs Lisp files, # byte-compile Emacs Lisp files, and generate the file leim-list.el. -BUILT-EMACS = ../src/emacs +BUILT_EMACS = ../src/emacs buildlisppath=${srcdir}/../lisp # How to run Emacs. -RUN-EMACS = EMACSLOADPATH=$(buildlisppath) LC_ALL=C \ - ${BUILT-EMACS} -batch --no-site-file --no-site-lisp +RUN_EMACS = EMACSLOADPATH=$(buildlisppath) LC_ALL=C \ + ${BUILT_EMACS} -batch --no-site-file --no-site-lisp # Subdirectories to be made if ${srcdir} is different from the current # directory. SUBDIRS=quail # Files generated from TIT dictionaries for Chinese GB character set. -TIT-GB=\ +TIT_GB=\ quail/CCDOSPY.elc \ quail/Punct.elc \ quail/QJ.elc \ @@ -72,17 +72,17 @@ TIT-BIG5=\ quail/QJ-b5.elc \ quail/ZOZY.elc -CHINESE-TIT=${TIT-GB} ${TIT-BIG5} +CHINESE_TIT=${TIT_GB} ${TIT_BIG5} -NON-TIT-GB=${srcdir}/quail/py-punct.elc +NON_TIT_GB=${srcdir}/quail/py-punct.elc -NON-TIT-BIG5=${srcdir}/quail/pypunct-b5.elc +NON_TIT_BIG5=${srcdir}/quail/pypunct-b5.elc -CHINESE-NON-TIT=${NON-TIT-GB} ${NON-TIT-BIG5} +CHINESE_NON_TIT=${NON_TIT_GB} ${NON_TIT_BIG5} -CHINESE-GB=${TIT-GB} ${NON-TIT-GB} +CHINESE_GB=${TIT_GB} ${NON_TIT_GB} -CHINESE-BIG5=${TIT-BIG5} ${NON-TIT-BIG5} +CHINESE_BIG5=${TIT_BIG5} ${NON_TIT_BIG5} JAPANESE=${srcdir}/quail/japanese.elc ${srcdir}/ja-dic/ja-dic.elc @@ -138,22 +138,22 @@ MISC= \ quail/CTLau.elc \ quail/CTLau-b5.elc -CHINESE=${CHINESE-GB} ${CHINESE-BIG5} +CHINESE=${CHINESE_GB} ${CHINESE_BIG5} EASTASIA=${CHINESE} ${JAPANESE} ${KOREAN} ASIA=${EASTASIA} ${THAI} ${VIETNAMESE} ${LAO} ${INDIAN} ${TIBETAN} EUROPEAN=${LATIN} ${SLAVIC} ${GREEK} ${RUSSIAN} WORLD=${ASIA} ${EUROPEAN} ${OTHERS} ${MISC} ${UNICODE} -TIT-MISC=${CHINESE-TIT} ${MISC} -NON-TIT-MISC=${CHINESE-NON-TIT} ${JAPANESE} ${KOREAN} ${EUROPEAN} ${OTHERS} +TIT_MISC=${CHINESE_TIT} ${MISC} +NON_TIT_MISC=${CHINESE_NON_TIT} ${JAPANESE} ${KOREAN} ${EUROPEAN} ${OTHERS} .SUFFIXES: .elc .el .el.elc: @echo Compiling $< - @${RUN-EMACS} -f batch-byte-compile $< + @${RUN_EMACS} -f batch-byte-compile $< -all: ${BUILT-EMACS} ${SUBDIRS} leim-list.el ${WORLD} +all: ${BUILT_EMACS} ${SUBDIRS} leim-list.el ${WORLD} # To ensure that we can run Emacs. This target is ignored (never # being hit) if a user changes default value of EMACS. @@ -164,7 +164,7 @@ ${SUBDIRS}: mkdir $@ touch stamp-subdir -TIT-SOURCES= \ +TIT_SOURCES= \ ${srcdir}/CXTERM-DIC/4Corner.tit \ ${srcdir}/CXTERM-DIC/ARRAY30.tit \ ${srcdir}/CXTERM-DIC/CCDOSPY.tit \ @@ -179,15 +179,15 @@ TIT-SOURCES= \ ${srcdir}/CXTERM-DIC/TONEPY.tit \ ${srcdir}/CXTERM-DIC/ZOZY.tit -${CHINESE-TIT:.elc=.el}: changed.tit +${CHINESE_TIT:.elc=.el}: changed.tit @true -changed.tit: ${TIT-SOURCES} - ${RUN-EMACS} -l ${buildlisppath}/international/titdic-cnv \ +changed.tit: ${TIT_SOURCES} + ${RUN_EMACS} -l ${buildlisppath}/international/titdic-cnv \ -f batch-titdic-convert -dir quail ${srcdir}/CXTERM-DIC; \ echo "changed" > $@ -MISC-SOURCES= \ +MISC_SOURCES= \ ${srcdir}/MISC-DIC/CTLau-b5.html \ ${srcdir}/MISC-DIC/CTLau.html \ ${srcdir}/MISC-DIC/cangjie-table.b5 \ @@ -198,20 +198,20 @@ MISC-SOURCES= \ ${MISC:.elc=.el}: changed.misc @true -changed.misc: ${MISC-SOURCES} - ${RUN-EMACS} -l ${buildlisppath}/international/titdic-cnv \ +changed.misc: ${MISC_SOURCES} + ${RUN_EMACS} -l ${buildlisppath}/international/titdic-cnv \ -f batch-miscdic-convert -dir quail ${srcdir}/MISC-DIC; \ echo "changed" > $@ -leim-list.el: ${SUBDIRS} ${TIT-MISC} changed.tit changed.misc ${srcdir}/leim-ext.el +leim-list.el: ${SUBDIRS} ${TIT_MISC} changed.tit changed.misc ${srcdir}/leim-ext.el rm -f leim-list.el - ${RUN-EMACS} -l ${buildlisppath}/international/quail \ - -f batch-byte-compile-if-not-done ${TIT-MISC:.elc=.el} + ${RUN_EMACS} -l ${buildlisppath}/international/quail \ + -f batch-byte-compile-if-not-done ${TIT_MISC:.elc=.el} if [ x`(cd ${srcdir} && /bin/pwd)` = x`(/bin/pwd)` ] ; then \ - ${RUN-EMACS} -l ${buildlisppath}/international/quail \ + ${RUN_EMACS} -l ${buildlisppath}/international/quail \ --eval "(update-leim-list-file \".\")" ; \ else \ - ${RUN-EMACS} -l ${buildlisppath}/international/quail \ + ${RUN_EMACS} -l ${buildlisppath}/international/quail \ --eval "(update-leim-list-file \".\" \"${srcdir}\")" ; \ fi sed -n '/^[^;]/ p' < ${srcdir}/leim-ext.el >> $@ @@ -264,7 +264,7 @@ install: all else true ; fi clean mostlyclean: - rm -f ${TIT-MISC} ${TIT-MISC:.elc=.el} \ + rm -f ${TIT_MISC} ${TIT_MISC:.elc=.el} \ leim-list.el changed.tit changed.misc # The following target is needed because the `clean' target only removes @@ -287,5 +287,5 @@ extraclean: maintainer-clean .PHONY: check-declare check-declare: - $(RUN-EMACS) -l $(buildlisppath)/emacs-lisp/check-declare \ + $(RUN_EMACS) -l $(buildlisppath)/emacs-lisp/check-declare \ --eval '(check-declare-directory "$(srcdir)")' |