Avoid accidental include of Foundation.h

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29620 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2010-02-14 13:52:29 +00:00
parent 99cb20ae16
commit eda0f191e7
3 changed files with 156 additions and 144 deletions

View file

@ -42,7 +42,11 @@ before-all:: $(GENERATED_HFILES)
after-all:: Info-gnustep.plist
# Things to do before installing
# before-install::
before-install::
cp ../Headers/Foundation/Foundation.h \
../Headers/Foundation.Foundation.h.saved
cp ../Headers/Foundation/Foundation.h.install
../Headers/Foundation.Foundation.h
# Things to do after installing
#
@ -54,6 +58,13 @@ after-install::
$(INSTALL_DATA) ../Headers/Additions/GNUstepBase/$$file \
$(GNUSTEP_HEADERS)/GNUstepBase/$$file ; \
done
cp ../Headers/Foundation/Foundation.h.saved \
../Headers/Foundation.Foundation.h
mv ../Headers/Foundation/Foundation.h \
../Headers/Foundation.Foundation.h.saved
cp ../Headers/Foundation/Foundation.h.install
../Headers/Foundation.Foundation.h
$(MKDIRS) $(GNUSTEP_HEADERS)/$(GNUSTEP_TARGET_DIR)/GNUstepBase
$(INSTALL_DATA) $(GNUSTEP_TARGET_DIR)/GNUstepBase/GSConfig.h \
$(GNUSTEP_HEADERS)/$(GNUSTEP_TARGET_DIR)/GNUstepBase/GSConfig.h