From b75eb63982a54c0fb4576d8a655ef734908d3604 Mon Sep 17 00:00:00 2001 From: Akira TAGOH Date: Sat, 10 Mar 2012 22:05:07 +0900 Subject: Fix a build fail on some environment --- fc-case/Makefile.am | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'fc-case') 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 -- cgit v1.2.3