diff options
-rw-r--r-- | Makefile.am | 6 |
1 files 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) |