mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-22 22:00:49 +00:00
Do not create directories if they already exist
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@9362 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
6bac85adaf
commit
56b7efdd3a
1 changed files with 13 additions and 8 deletions
21
bundle.make
21
bundle.make
|
@ -122,11 +122,13 @@ ifeq ($(BUNDLE_INSTALL_DIR),)
|
|||
BUNDLE_INSTALL_DIR := $(GNUSTEP_BUNDLES)
|
||||
endif
|
||||
|
||||
build-bundle-dir::
|
||||
@$(MKDIRS) \
|
||||
$(BUNDLE_DIR_NAME)/Resources \
|
||||
$(BUNDLE_DIR_NAME)/$(GNUSTEP_TARGET_LDIR) \
|
||||
$(BUNDLE_RESOURCE_DIRS)
|
||||
build-bundle-dir:: $(BUNDLE_DIR_NAME)/Resources $(BUNDLE_DIR_NAME)/$(GNUSTEP_TARGET_LDIR) $(BUNDLE_RESOURCE_DIRS)
|
||||
|
||||
$(BUNDLE_DIR_NAME)/$(GNUSTEP_TARGET_LDIR):
|
||||
$(MKDIRS) $(BUNDLE_DIR_NAME)/$(GNUSTEP_TARGET_LDIR)
|
||||
|
||||
$(BUNDLE_RESOURCE_DIRS):
|
||||
$(MKDIRS) $(BUNDLE_RESOURCE_DIRS)
|
||||
|
||||
build-bundle:: $(BUNDLE_FILE) bundle-resource-files localized-bundle-resource-files
|
||||
|
||||
|
@ -178,7 +180,7 @@ endif
|
|||
# MacOSX bundles
|
||||
|
||||
$(BUNDLE_DIR_NAME)/Contents :
|
||||
@$(MKDIRS) $@
|
||||
$(MKDIRS) $@
|
||||
|
||||
$(BUNDLE_DIR_NAME)/Contents/Resources : $(BUNDLE_DIR_NAME)/Contents \
|
||||
$(BUNDLE_DIR_NAME)/Resources
|
||||
|
@ -246,8 +248,11 @@ internal-bundle-install:: $(BUNDLE_INSTALL_DIR)
|
|||
rm -rf $(BUNDLE_INSTALL_DIR)/$(BUNDLE_DIR_NAME)
|
||||
$(TAR) cf - $(BUNDLE_DIR_NAME) | (cd $(BUNDLE_INSTALL_DIR); $(TAR) xf -)
|
||||
|
||||
$(BUNDLE_DIR_NAME)/Resources $(BUNDLE_INSTALL_DIR)::
|
||||
@$(MKDIRS) $@
|
||||
$(BUNDLE_DIR_NAME)/Resources:
|
||||
$(MKDIRS) $@
|
||||
|
||||
$(BUNDLE_INSTALL_DIR):
|
||||
$(MKDIRS) $@
|
||||
|
||||
internal-bundle-uninstall::
|
||||
if [ "$(HEADER_FILES)" != "" ]; then \
|
||||
|
|
Loading…
Reference in a new issue