Fix a build issue when $(srcdir) != $(builddir)

This commit is contained in:
Akira TAGOH 2015-03-02 11:34:53 +09:00
parent a9d4dba749
commit 724664e3fd
1 changed files with 2 additions and 2 deletions

View File

@ -27,8 +27,8 @@ TMPL = fcblanks.tmpl.h
noinst_SCRIPTS = $(BLANKSPY) noinst_SCRIPTS = $(BLANKSPY)
noinst_HEADERS = $(BLANKS_H) noinst_HEADERS = $(BLANKS_H)
$(BLANKS_H): $(BLANKSPY) $(TMPL) $(BLANKS_H): $(TMPL) $(BLANKSPY)
$(AM_V_GEN) $(PYTHON) $(BLANKSPY) < $(TMPL) > $(BLANKS_H).tmp && \ $(AM_V_GEN) $(PYTHON) $(srcdir)/$(BLANKSPY) < $< > $(BLANKS_H).tmp && \
mv $(BLANKS_H).tmp $(BLANKS_H) || ($(RM) $(BLANKS_H).tmp && false) mv $(BLANKS_H).tmp $(BLANKS_H) || ($(RM) $(BLANKS_H).tmp && false)
EXTRA_DIST = \ EXTRA_DIST = \