summaryrefslogtreecommitdiff
path: root/Compose
diff options
context:
space:
mode:
Diffstat (limited to 'Compose')
-rw-r--r--Compose/Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/Compose/Makefile b/Compose/Makefile
index 8dcd057..b184449 100644
--- a/Compose/Makefile
+++ b/Compose/Makefile
@@ -1,4 +1,3 @@
-
SRC = ./src
DEFAULTS = \
@@ -9,7 +8,7 @@ DEFAULTS = \
base_greek_lang \
base_roman
-MODULES_SRC = $(wildcard $(SRC)/*.module))
+MODULES_SRC = $(wildcard $(SRC)/*.module)
MODULES = $(notdir $(basename $(MODULES_SRC)))
CHECKCOMPOSE = ./check-compose.pl
@@ -23,15 +22,15 @@ help :
all : $(addprefix XCompose_, $(DEFAULTS))
-XCompose%: FORCE
+XCompose%: $(MODULES_SRC)
@echo Creating file $@
- @echo "#" >$@ ;\
- @echo "# Automatically generated file. Do not edit." >$@ ;\
- @echo "#" >$@ ;\
+ echo "#" >$@
+ echo "# Automatically generated file. Do not edit." >>$@
+ echo "#" >>$@
for i in \
`echo $@ | sed -e 's/XCompose//;s/_/ /g'`;\
do \
- export fn=$(SRC)/$$i.module;\
+ fn=$(SRC)/$$i.module;\
if [ -e $$fn ]; then \
echo "# begin include module $$i" >>$@ ;\
cat $$fn >>$@ ;\
@@ -52,8 +51,9 @@ check :
clean :
-rm -f XCompose_*
+ -rm -f XCompose
.PHONY : clean help check
-FORCE : ; \ No newline at end of file
+