summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2014-03-01 18:11:08 (EST)
committer P. J. McDermott <pjm@nac.net>2014-03-01 18:11:08 (EST)
commitbfccb42a393982e02032afc8664950bfc5a4db18 (patch)
tree9f6537317728010918d91b8875bd87e4ecb19492
parentd84d0033d636b0533df5749383a8bb89372fea26 (diff)
Makefile.am: Split up inference rule targets.
Automake warns (inaccurately?) that this is non-standard: Makefile.am:159: warning: inference rules can have only one target before the colon (POSIX)
-rw-r--r--Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 6f7ea73..68820f2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -156,7 +156,11 @@ test:
$(AM_V_at)$(do_subst) $< >$@
$(AM_V_at)chmod a+x $@
-.sh.sm .1in.1:
+.sh.sm:
+ $(AM_V_GEN)$(MKDIR_P) "$$(dirname $@)"
+ $(AM_V_at)$(do_subst) $< >$@
+
+.1in.1:
$(AM_V_GEN)$(MKDIR_P) "$$(dirname $@)"
$(AM_V_at)$(do_subst) $< >$@