From: Matthias Andree Date: Sat, 8 Dec 2012 11:31:11 +0000 (+0100) Subject: Fix VPATH build by running txt2c.sh from ${srcdir} rather than ".". X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=426ca734dde1b49cee12d878a1f035cb09a86952;p=mutt Fix VPATH build by running txt2c.sh from ${srcdir} rather than ".". --- diff --git a/Makefile.am b/Makefile.am index 24daaab6..b980fcd8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -104,11 +104,11 @@ conststrings.c: txt2c config.status $(CC) --version || \ $(CC) -V || \ echo "unknown compiler"; \ - ) 2>&1 | ./txt2c.sh cc_version >conststrings_c - echo "$(CFLAGS)" | ./txt2c.sh cc_cflags >>conststrings_c + ) 2>&1 | ${srcdir}/txt2c.sh cc_version >conststrings_c + echo "$(CFLAGS)" | ${srcdir}/txt2c.sh cc_cflags >>conststrings_c grep ac_cs_config= config.status | \ cut -d= -f2- | \ - sed -e 's/^"//' -e 's/"$$//' | ./txt2c.sh configure_options >>conststrings_c + sed -e 's/^"//' -e 's/"$$//' | ${srcdir}/txt2c.sh configure_options >>conststrings_c mv -f conststrings_c conststrings.c CLEANFILES = mutt_dotlock.c keymap_alldefs.h $(BUILT_SOURCES)