use option -p for mkdir include.
authorrdm <rdm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 18 Jun 2004 12:50:13 +0000 (12:50 +0000)
committerrdm <rdm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 18 Jun 2004 12:50:13 +0000 (12:50 +0000)
build/module.tpl

index 841c8b5..eb4752f 100644 (file)
@@ -172,7 +172,7 @@ $(@PACKAGE@EXPORTDEST): $(EXPORTDIR)/%.h: @MODULE@/%.h
 ifndef ALIQUIET
          @echo "***** Copying file $^ to $@ *****"
 endif
-         @[ -d $(dir $@) ] || mkdir $(dir $@)
+         @[ -d $(dir $@) ] || mkdir -p $(dir $@)
          @cp $^ $@     
 endif