Do not create directories if they already exist

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@9361 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2001-03-14 12:02:07 +00:00
parent 3f3069f53a
commit 6bac85adaf

View file

@ -166,8 +166,10 @@ $(APP_DIR_NAME)/$(INTERNAL_app_NAME):
endif
endif
app-resource-dir::
@$(MKDIRS) $(APP_RESOURCE_DIRS)
$(APP_RESOURCE_DIRS):
$(MKDIRS) $(APP_RESOURCE_DIRS)
app-resource-dir:: $(APP_RESOURCE_DIRS)
app-resource-files:: $(APP_DIR_NAME)/Resources/Info-gnustep.plist app-resource-dir
@(if [ "$(RESOURCE_FILES)" != "" ]; then \
@ -221,7 +223,9 @@ internal-app-install:: internal-app-all internal-install-dirs
rm -rf $(GNUSTEP_APPS)/$(APP_DIR_NAME)
$(TAR) cf - $(APP_DIR_NAME) | (cd $(GNUSTEP_APPS); $(TAR) xf -)
internal-install-dirs::
internal-install-dirs:: $(GNUSTEP_APPS)
$(GNUSTEP_APPS):
$(MKDIRS) $(GNUSTEP_APPS)
internal-app-uninstall::