aboutsummaryrefslogtreecommitdiff
path: root/fontconfig/fc-case/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'fontconfig/fc-case/Makefile.am')
-rw-r--r--fontconfig/fc-case/Makefile.am7
1 files changed, 5 insertions, 2 deletions
diff --git a/fontconfig/fc-case/Makefile.am b/fontconfig/fc-case/Makefile.am
index 691482468..6fe3a4484 100644
--- a/fontconfig/fc-case/Makefile.am
+++ b/fontconfig/fc-case/Makefile.am
@@ -45,7 +45,10 @@ if CROSS_COMPILING
$(TARG): $(STMPL) fc-case.c $(SCASEFOLDING)
@echo Warning: cannot rebuild $(TARG) when cross-compiling
else
-$(TARG): $(STMPL) fc-case$(EXEEXT) $(SCASEFOLDING)
+## BUILT_SOURCES doesn't effect to 'distcheck'
+## so $(ALIAS_FILES) has to be appeared prior to fc-case$(EXEEXT)
+## to make sure availability.
+$(TARG): $(STMPL) $(ALIAS_FILES) fc-case$(EXEEXT) $(SCASEFOLDING)
$(AM_V_GEN) $(RM) $(TARG); \
./fc-case$(EXEEXT) $(SCASEFOLDING) < $(STMPL) > $(TARG).tmp && \
mv $(TARG).tmp $(TARG)
@@ -56,7 +59,7 @@ ALIAS_FILES = fcalias.h fcaliastail.h
BUILT_SOURCES = $(ALIAS_FILES)
$(ALIAS_FILES):
- touch $(ALIAS_FILES)
+ $(AM_V_GEN) touch $@
CLEANFILES = $(ALIAS_FILES)