From feb295f9fcdae1678ce098958091c670133c9b7f Mon Sep 17 00:00:00 2001 From: Andrew McCallum Date: Fri, 31 May 1996 18:16:40 +0000 Subject: [PATCH] (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 --- Source/Makefile.in | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Source/Makefile.in b/Source/Makefile.in index 499c1bb6a..54b623c7b 100644 --- a/Source/Makefile.in +++ b/Source/Makefile.in @@ -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.