From 1d15009075c3d316bd54c5861ac2859330ab2e64 Mon Sep 17 00:00:00 2001 From: Matthieu Herrb Date: Sun, 5 Mar 2006 19:52:51 +0000 Subject: mkfontdir: Let BSD make find mkfontdir.cpp when building in a separate obj dir --- Makefile.am | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index a12fe4f..5defac4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -25,8 +25,10 @@ bin_SCRIPTS = mkfontdir dist_man1_MANS = mkfontdir.man -mkfontdir: mkfontdir.cpp - $(SED) s,BINDIR,`echo @bindir@/mkfontscale | $(SED) s,/[^/]*$$,,`, < mkfontdir.cpp | $(SED) s/XCOMM/\#/ > $@ +.cpp: + $(SED) s,BINDIR,`echo @bindir@/mkfontscale | $(SED) s,/[^/]*$$,,`, < $< | $(SED) s/XCOMM/\#/ > $@ + +SUFFIXES = .cpp EXTRA_DIST = mkfontdir.cpp CLEANFILES = $(bin_SCRIPTS) -- cgit v1.2.3