changeset 54216:638f83c80323

(all): Depends on $(WORLD) instead of $(TIT) and $(MISC-DIC). (clean, mostlyclean): Don't delete *.elc distributed with tarball. (maintainer-clean): Delete files that are not in CVS repository.
author Kenichi Handa <handa@m17n.org>
date Mon, 01 Mar 2004 07:08:28 +0000
parents 4f16c1a8d33d
children 0cbe097fca37
files leim/makefile.nt leim/makefile.w32-in
diffstat 2 files changed, 10 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/leim/makefile.nt	Mon Mar 01 06:56:32 2004 +0000
+++ b/leim/makefile.nt	Mon Mar 01 07:08:28 2004 +0000
@@ -132,7 +132,7 @@
 TIT=$(CHINESE_TIT)
 NON_TIT=$(CHINESE_NON_TIT) $(JAPANESE) $(KOREAN) $(EUROPEAN) $(MISC)
 
-all: $(BUILT_EMACS) $(SUBDIRS) $(TIT) $(MISC_DIC) leim-list.el
+all: $(BUILT_EMACS) $(SUBDIRS) $(WORLD) leim-list.el
 
 # To ensure that we can run Emacs.  This target is ignored (never
 # being hit) if a user changes default value of EMACS.
@@ -196,11 +196,13 @@
 	for %%f in ($(TIT_EL:/=\)) do $(DEL) %%f
 	for %%f in ($(MISC_DIC:/=\)) do $(DEL) %%f
 	for %%f in ($(MISC_DIC_EL:/=\)) do $(DEL) %%f
-	for %%f in ($(WORLD:/=\)) do $(DEL) %%f
 	$(DEL) leim-list.el
 
-distclean maintainer-clean:
+distclean: clean
 	if exist stamp-subdir $(DELTREE) $(SUBDIRS)
 	$(DEL) stamp-subdir
 
+maintainer-clean: distclean
+	for %%f in ($(WORLD:/=\)) do $(DEL) %%f
+
 # arch-tag: cded53b4-4803-496b-8c05-7daff80e5b3b
--- a/leim/makefile.w32-in	Mon Mar 01 06:56:32 2004 +0000
+++ b/leim/makefile.w32-in	Mon Mar 01 07:08:28 2004 +0000
@@ -142,7 +142,7 @@
 .el.elc:
 	$(RUN_EMACS) -f batch-byte-compile $<
 
-all: $(BUILT_EMACS) $(SUBDIRS) $(TIT) $(MISC_DIC) leim-list.el
+all: $(BUILT_EMACS) $(SUBDIRS) $(WORLD) leim-list.el
 
 # To ensure that we can run Emacs.  This target is ignored (never
 # being hit) if a user changes default value of EMACS.
@@ -192,14 +192,16 @@
 
 clean mostlyclean:
 	- $(FOREACH) $(TIT) $(FORDO) $(DEL) $(FORVAR) $(ENDFOR)
-	- $(FOREACH) $(WORLD) $(FORDO) $(DEL) $(FORVAR) $(ENDFOR)
 	- $(FOREACH) $(MISC_DIC) $(FORDO) $(DEL) $(FORVAR) $(ENDFOR)
 	- $(FOREACH) $(TIT:.elc=.el) $(FORDO) $(DEL) $(FORVAR) $(ENDFOR)
 	- $(FOREACH) $(MISC_DIC:.elc=.el) $(FORDO) $(DEL) $(FORVAR) $(ENDFOR)
 	- $(DEL) leim-list.el
 
-distclean maintainer-clean:
+distclean clean:
 	if exist stamp-subdir $(DELTREE) $(SUBDIRS)
 	- $(DEL) stamp-subdir
 
+maintainer-clean: distclean
+	- $(FOREACH) $(WORLD) $(FORDO) $(DEL) $(FORVAR) $(ENDFOR)
+
 # arch-tag: 08250c45-fa9c-4f39-a175-a0c5c36dd67b