diff options
author | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-09-09 14:23:35 +0000 |
---|---|---|
committer | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-09-09 14:23:35 +0000 |
commit | ee795f9ee4798d50ae6d295f47602cd9076717c8 (patch) | |
tree | 1b4cfb8f1cca314176e4660008aeea11521327a1 /lib | |
parent | 7818acde6408ef30741e0e250d02c02c263181fb (diff) |
Adding a couple of MKDIRFLAGS that I had missed
git-svn-id: http://svn.cactuscode.org/flesh/trunk@891 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib')
-rw-r--r-- | lib/make/make.configuration | 6 | ||||
-rw-r--r-- | lib/make/make.thornlib | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/make/make.configuration b/lib/make/make.configuration index 06b1175c..6ef55b22 100644 --- a/lib/make/make.configuration +++ b/lib/make/make.configuration @@ -96,13 +96,13 @@ $(CONFIG)/cctk_version.h: $(CCTK_HOME)/Makefile $(CCTK_LIBDIR)/lib%.a: update @echo $(DIVIDER) @echo Checking status of $(notdir $@) - if [ ! -d $(SCRATCH_BUILD) ]; then $(MKDIR) $(SCRATCH_BUILD) ; fi - if [ ! -d $(BUILD_DIR) ]; then $(MKDIR) $(BUILD_DIR) ; fi + if [ ! -d $(SCRATCH_BUILD) ]; then $(MKDIR) $(MKDIRFLAGS) $(SCRATCH_BUILD) ; fi + if [ ! -d $(BUILD_DIR) ]; then $(MKDIR) $(MKDIRFLAGS) $(BUILD_DIR) ; fi thorn_name=$(@:$(CCTK_LIBDIR)/lib%.a=%); \ if [ "$$thorn_name" = "Cactus" ] ; then src_dir=$(CCTK_HOME)/src ; \ else if [ "$$thorn_name" = "CactusBindings" ] ; then src_dir=$(BINDINGS_DIR) ; \ else src_dir=$(PACKAGE_DIR)/$(@:$(CCTK_LIBDIR)/lib%.a=$(filter %/$(@:$(CCTK_LIBDIR)/lib%.a=%), $(THORNS)))/src ; fi ; fi ;\ - if [ ! -d $(BUILD_DIR)/$$thorn_name ]; then $(MKDIR) $(BUILD_DIR)/$$thorn_name ; fi ; \ + if [ ! -d $(BUILD_DIR)/$$thorn_name ]; then $(MKDIR) $(MKDIRFLAGS) $(BUILD_DIR)/$$thorn_name ; fi ; \ cd $(BUILD_DIR)/$$thorn_name ; \ if [ -r "$$src_dir/Makefile" ] ; then make_file=$$src_dir/Makefile ; \ else make_file=$(MAKE_DIR)/make.thornlib ; fi ; \ diff --git a/lib/make/make.thornlib b/lib/make/make.thornlib index cd6e9fe9..6513a0ab 100644 --- a/lib/make/make.thornlib +++ b/lib/make/make.thornlib @@ -84,7 +84,7 @@ $(addsuffix .check, $(SUBDIRS)) : # This one puts a file containing identity info into the build subdirectory $(addsuffix /make.identity, $(SUBDIRS)): - if [ ! -d $(dir $@) ] ; then $(MKDIR) $(dir $@) ; fi + if [ ! -d $(dir $@) ] ; then $(MKDIR) $(MKDIRFLAGS) $(dir $@) ; fi echo CCTK_THIS_SUBDIR := $(dir $@) > $@ # Dependency stuff |