summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon TURNEY <jon.turney@dronecode.org.uk>2011-03-15 11:55:11 +0000
committerAlan Coopersmith <alan.coopersmith@oracle.com>2019-02-18 18:19:54 -0800
commitcfbeaa0b99944ab887b4854baa63eadd4e5481f5 (patch)
tree634e18b907286cd109e5eb5f8d9926aadc3964dd
parent758df83c5825b77f338e44c1fcc4c5070d3c3516 (diff)
mkfontdir: Fix for non-srcdir builds
Fix commit ad5fefcc7a0a0beb1c02270d9f28c8b28da61199 for non-srcdir builds Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index a3d3d92..c36d171 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -28,7 +28,7 @@ EXTRA_DIST = $(bin_SCRIPTS:=.in)
DIR_SUBSTS = -e 's|@bindir[@]|$(bindir)|g'
mkfontdir: mkfontdir.in
- $(AM_V_GEN)$(SED) $(DIR_SUBSTS) < mkfontdir.in > $@
+ $(AM_V_GEN)$(SED) $(DIR_SUBSTS) < $(srcdir)/mkfontdir.in > $@
AM_CPPFLAGS = @MKFONTSCALE_CFLAGS@ @X11_CFLAGS@ -D_BSD_SOURCE
AM_CFLAGS = $(CWARNFLAGS)