Only create a symlink GNUSTEP_SYSTEM_ROOT/Makefiles-->GNUSTEP_SYSTEM_ROOT/Library/Makefiles

if symlinks are available.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@16857 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2003-06-02 09:21:52 +00:00
parent e9a58d66ae
commit e4e3d10550
2 changed files with 10 additions and 2 deletions

View file

@ -1,3 +1,9 @@
Mon Jun 2 10:21:11 2003 Nicola Pero <n.pero@mi.flashnet.it>
* GNUmakefile.in (install): Only create the symlink Makefiles -->
Library/Makefiles if symbolic links are available. (Problems
reported by Matt Rice).
Sat May 31 09:13:07 2003 Matt Rice <ratmice@yahoo.com>,
David Ayers <d.ayers@inode.at>

View file

@ -135,8 +135,10 @@ install: all
$(makedir)/Instance \
$(makedir)/Instance/Shared \
$(makedir)/Instance/Documentation)
-$(EC) (rm -f $(GNUSTEP_SYSTEM_ROOT)/Makefiles; \
$(LN_S) @MAKEFILES_SUFFIX@ $(GNUSTEP_SYSTEM_ROOT)/Makefiles)
-$(EC) rm -f $(GNUSTEP_SYSTEM_ROOT)/Makefiles
ifeq ($(HAS_LN_S), yes)
$(EC) (cd $(GNUSTEP_SYSTEM_ROOT); $(LN_S) @MAKEFILES_SUFFIX@ Makefiles)
endif
$(EC)(echo "Installing gnustep-make support software"; \
$(INSTALL_PROGRAM) -m 755 which_lib$(EXEEXT) \
$(makedir)/$(GNUSTEP_TARGET_DIR); \