(gnustep/base): Make a link for `Foundation' when building in a

separate directory.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1627 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Andrew McCallum 1996-05-31 18:16:40 +00:00
parent 69d32843e2
commit feb295f9fc

View file

@ -512,10 +512,13 @@ gnustep/base:
ln -s . gnustep
ln -s ./include base
# Make necessary links to source headers if compiling in seperate dir
# These are separate directories because one contains the .h files
# generated during the build; the other contains the unchanged sources.
if [ ! -r ./include/Collection.h ]; then \
mkdir srcdir-include; \
ln -s ../$(srcdir)/include ./srcdir-include/base; \
(cd srcdir-include; ln -s . gnustep); \
mkdir srcdir-include/gnustep; \
ln -s $(srcdir)/include ./srcdir-include/gnustep/base; \
ln -s $(srcdir)/include ./srcdir-include/Foundation; \
fi
# This deletion is necessary, because the CVS repository contains
# an emtpy `Foundation' directory that used to hold the OpenStep headers.