summaryrefslogtreecommitdiff
path: root/fc-case
diff options
context:
space:
mode:
authorAkira TAGOH <akira@tagoh.org>2012-03-10 22:05:07 +0900
committerAkira TAGOH <akira@tagoh.org>2012-03-10 22:05:07 +0900
commitb75eb63982a54c0fb4576d8a655ef734908d3604 (patch)
tree30cb882f332f131441c629fb58385e5b51d44701 /fc-case
parenta47899a853e4ed3405f398f43d03424095ae73f5 (diff)
Fix a build fail on some environment
Diffstat (limited to 'fc-case')
-rw-r--r--fc-case/Makefile.am10
1 files changed, 4 insertions, 6 deletions
diff --git a/fc-case/Makefile.am b/fc-case/Makefile.am
index de657afa..9138c191 100644
--- a/fc-case/Makefile.am
+++ b/fc-case/Makefile.am
@@ -33,10 +33,8 @@ noinst_PROGRAMS=fc-case
noinst_HEADERS=$(TARG)
-fc_case_SRCS= \
- fc-case.c \
- fccaseint.h \
- fccaseread.c
+fc_case_SOURCES= \
+ fc-case.c
CASEFOLDING=CaseFolding.txt
SCASEFOLDING=${top_srcdir}/fc-case/CaseFolding.txt
@@ -48,8 +46,8 @@ $(TARG): $(STMPL) fc-case.c $(SCASEFOLDING)
@echo Warning: cannot rebuild $(TARG) when cross-compiling
else
$(TARG): $(STMPL) fc-case$(EXEEXT) $(SCASEFOLDING)
- $(AM_V_GEN) $(RM) $(TARG); \
- ./fc-case$(EXEEXT) $(SCASEFOLDING) < $(STMPL) > $(TARG).tmp && \
+ -rm $(TARG)
+ $(AM_V_GEN) $(builddir)/fc-case$(EXEEXT) $(SCASEFOLDING) < $(STMPL) > $(TARG).tmp && \
mv $(TARG).tmp $(TARG)
endif