From b0d036cb281a9d59946409810b98a175877006fb Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Wed, 23 Oct 2013 11:59:35 -0400 Subject: Makefile.am: Add .sh.sm inference rule. --- diff --git a/Makefile.am b/Makefile.am index 2f80629..129ff23 100644 --- a/Makefile.am +++ b/Makefile.am @@ -33,7 +33,7 @@ EXTRA_DIST = \ $(pkgdata_sources) \ $(pkgdatacmd_sources) -SUFFIXES = .sh +SUFFIXES = .sh .sm do_subst = sed \ -e 's|[@]PACKAGE[@]|$(PACKAGE)|g' \ @@ -62,3 +62,7 @@ dist-hook: $(MKDIR_P) "$$(dirname $@)" $(do_subst) $< >$@ chmod a+x $@ + +.sh.sm: + $(MKDIR_P) "$$(dirname $@)" + $(do_subst) $< >$@ -- cgit v0.9.1