diff options
author | Chris Want <cwant@ualberta.ca> | 2004-07-15 19:06:54 +0400 |
---|---|---|
committer | Chris Want <cwant@ualberta.ca> | 2004-07-15 19:06:54 +0400 |
commit | 8483a1951dfd26d7ad14caabdc8e6b7e4e138a3d (patch) | |
tree | 9e1a90dc497443067d57f4fa547531f66e776910 | |
parent | f25b0df75136aff38b7d4f46b1e8230b8d50c5f3 (diff) |
This should have been fixed long ago ... create important
directories using 'mkdir -p' to avoid errors with fresh builds.
-rw-r--r-- | source/nan_subdirs.mk | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source/nan_subdirs.mk b/source/nan_subdirs.mk index bdd645c6144..f1d730e5cd1 100644 --- a/source/nan_subdirs.mk +++ b/source/nan_subdirs.mk @@ -48,13 +48,13 @@ ifdef quicky else ifdef DIR @# Make sure object toplevels are there - @[ -d $(NAN_OBJDIR) ] || mkdir $(NAN_OBJDIR) - @[ -d $(LCGDIR) ] || mkdir $(LCGDIR) - @[ -d $(OCGDIR) ] || mkdir $(OCGDIR) - @[ -d $(OCGDIR)/intern ] || mkdir $(OCGDIR)/intern - @[ -d $(OCGDIR)/extern ] || mkdir $(OCGDIR)/extern + @[ -d $(NAN_OBJDIR) ] || mkdir -p $(NAN_OBJDIR) + @[ -d $(LCGDIR) ] || mkdir -p $(LCGDIR) + @[ -d $(OCGDIR) ] || mkdir -p $(OCGDIR) + @[ -d $(OCGDIR)/intern ] || mkdir -p $(OCGDIR)/intern + @[ -d $(OCGDIR)/extern ] || mkdir -p $(OCGDIR)/extern @# Create object directory - @[ -d $(DIR) ] || mkdir $(DIR) + @[ -d $(DIR) ] || mkdir -p $(DIR) endif @for i in $(DIRS); do \ echo "====> $(MAKE) $@ in $(SOURCEDIR)/$$i" ;\ |