[Fontconfig] fontconfig: Branch 'master'

Akira TAGOH tagoh at kemper.freedesktop.org
Sun Mar 1 18:35:26 PST 2015


 fc-blanks/Makefile.am |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 724664e3fd056b864576f8e100a8de5c0e93a725
Author: Akira TAGOH <akira at tagoh.org>
Date:   Mon Mar 2 11:34:53 2015 +0900

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

diff --git a/fc-blanks/Makefile.am b/fc-blanks/Makefile.am
index f9c2486..5b97000 100644
--- a/fc-blanks/Makefile.am
+++ b/fc-blanks/Makefile.am
@@ -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 = 		\


More information about the Fontconfig mailing list