summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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) $< >$@