Fix a build issue when $(srcdir) != $(builddir)
This commit is contained in:
parent
a9d4dba749
commit
724664e3fd
|
@ -27,8 +27,8 @@ TMPL = fcblanks.tmpl.h
|
|||
noinst_SCRIPTS = $(BLANKSPY)
|
||||
noinst_HEADERS = $(BLANKS_H)
|
||||
|
||||
$(BLANKS_H): $(BLANKSPY) $(TMPL)
|
||||
$(AM_V_GEN) $(PYTHON) $(BLANKSPY) < $(TMPL) > $(BLANKS_H).tmp && \
|
||||
$(BLANKS_H): $(TMPL) $(BLANKSPY)
|
||||
$(AM_V_GEN) $(PYTHON) $(srcdir)/$(BLANKSPY) < $< > $(BLANKS_H).tmp && \
|
||||
mv $(BLANKS_H).tmp $(BLANKS_H) || ($(RM) $(BLANKS_H).tmp && false)
|
||||
|
||||
EXTRA_DIST = \
|
||||
|
|
Loading…
Reference in New Issue