Fix a build fail on some environment
This commit is contained in:
parent
a47899a853
commit
b75eb63982
|
@ -33,10 +33,8 @@ noinst_PROGRAMS=fc-case
|
||||||
|
|
||||||
noinst_HEADERS=$(TARG)
|
noinst_HEADERS=$(TARG)
|
||||||
|
|
||||||
fc_case_SRCS= \
|
fc_case_SOURCES= \
|
||||||
fc-case.c \
|
fc-case.c
|
||||||
fccaseint.h \
|
|
||||||
fccaseread.c
|
|
||||||
|
|
||||||
CASEFOLDING=CaseFolding.txt
|
CASEFOLDING=CaseFolding.txt
|
||||||
SCASEFOLDING=${top_srcdir}/fc-case/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
|
@echo Warning: cannot rebuild $(TARG) when cross-compiling
|
||||||
else
|
else
|
||||||
$(TARG): $(STMPL) fc-case$(EXEEXT) $(SCASEFOLDING)
|
$(TARG): $(STMPL) fc-case$(EXEEXT) $(SCASEFOLDING)
|
||||||
$(AM_V_GEN) $(RM) $(TARG); \
|
-rm $(TARG)
|
||||||
./fc-case$(EXEEXT) $(SCASEFOLDING) < $(STMPL) > $(TARG).tmp && \
|
$(AM_V_GEN) $(builddir)/fc-case$(EXEEXT) $(SCASEFOLDING) < $(STMPL) > $(TARG).tmp && \
|
||||||
mv $(TARG).tmp $(TARG)
|
mv $(TARG).tmp $(TARG)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
@ -41,8 +41,8 @@ $(TARG): $(STMPL) fc-glyphname.c $(SGLYPHNAME)
|
||||||
@echo Warning: cannot rebuild $(TARG) when cross-compiling
|
@echo Warning: cannot rebuild $(TARG) when cross-compiling
|
||||||
else
|
else
|
||||||
$(TARG): $(STMPL) fc-glyphname$(EXEEXT) $(SGLYPHNAME)
|
$(TARG): $(STMPL) fc-glyphname$(EXEEXT) $(SGLYPHNAME)
|
||||||
$(AM_V_GEN) $(RM) $(TARG); \
|
-rm $(TARG)
|
||||||
./fc-glyphname$(EXEEXT) $(SGLYPHNAME) < $(STMPL) > $(TARG).tmp && \
|
$(AM_V_GEN) $(builddir)/fc-glyphname$(EXEEXT) $(SGLYPHNAME) < $(STMPL) > $(TARG).tmp && \
|
||||||
mv $(TARG).tmp $(TARG)
|
mv $(TARG).tmp $(TARG)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
@ -40,8 +40,8 @@ $(TARG):$(ORTH) fc-lang.c $(STMPL)
|
||||||
@echo Warning: cannot rebuild $(TARG) when cross-compiling
|
@echo Warning: cannot rebuild $(TARG) when cross-compiling
|
||||||
else
|
else
|
||||||
$(TARG):$(ORTH) fc-lang${EXEEXT} $(STMPL)
|
$(TARG):$(ORTH) fc-lang${EXEEXT} $(STMPL)
|
||||||
$(AM_V_GEN) $(RM) $(TARG); \
|
-rm $(TARG)
|
||||||
./fc-lang${EXEEXT} -d ${srcdir} $(ORTH) < $(STMPL) > $(TARG).tmp && \
|
$(AM_V_GEN) $(builddir)/fc-lang${EXEEXT} -d ${srcdir} $(ORTH) < $(STMPL) > $(TARG).tmp && \
|
||||||
mv $(TARG).tmp $(TARG)
|
mv $(TARG).tmp $(TARG)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue