mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-22 22:00:49 +00:00
Do not create dirs if they exist
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@9364 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
cc18fcbb80
commit
c0e4448440
1 changed files with 20 additions and 7 deletions
27
library.make
27
library.make
|
@ -206,13 +206,26 @@ import-library::
|
|||
internal-library-install:: internal-install-dirs internal-install-lib \
|
||||
internal-install-headers
|
||||
|
||||
internal-install-dirs::
|
||||
$(MKDIRS) \
|
||||
$(GNUSTEP_LIBRARIES_ROOT)/$(GNUSTEP_TARGET_DIR) \
|
||||
$(GNUSTEP_LIBRARIES) \
|
||||
$(GNUSTEP_HEADERS)$(HEADER_FILES_INSTALL_DIR) \
|
||||
$(DLL_INSTALLATION_DIR) \
|
||||
$(ADDITIONAL_INSTALL_DIRS)
|
||||
# Depend on creating all the dirs
|
||||
internal-install-dirs:: $(GNUSTEP_LIBRARIES_ROOT)/$(GNUSTEP_TARGET_DIR) $(GNUSTEP_LIBRARIES) $(GNUSTEP_HEADERS)$(HEADER_FILES_INSTALL_DIR) $(DLL_INSTALLATION_DIR) $(ADDITIONAL_INSTALL_DIRS)
|
||||
|
||||
# Now the rule to create each dir. NB: Nothing gets executed if the dir
|
||||
# already exists
|
||||
$(GNUSTEP_LIBRARIES_ROOT)/$(GNUSTEP_TARGET_DIR):
|
||||
$(MKDIRS) $(GNUSTEP_LIBRARIES_ROOT)/$(GNUSTEP_TARGET_DIR)
|
||||
|
||||
$(GNUSTEP_LIBRARIES):
|
||||
$(MKDIRS) $(GNUSTEP_LIBRARIES)
|
||||
|
||||
$(GNUSTEP_HEADERS)$(HEADER_FILES_INSTALL_DIR):
|
||||
$(MKDIRS) $(GNUSTEP_HEADERS)$(HEADER_FILES_INSTALL_DIR)
|
||||
|
||||
$(DLL_INSTALLATION_DIR):
|
||||
$(MKDIRS) $(DLL_INSTALLATION_DIR)
|
||||
|
||||
$(ADDITIONAL_INSTALL_DIRS):
|
||||
$(MKDIRS) $(ADDITIONAL_INSTALL_DIRS)
|
||||
|
||||
|
||||
internal-install-headers::
|
||||
if [ "$(HEADER_FILES)" != "" ]; then \
|
||||
|
|
Loading…
Reference in a new issue