Uninstall compatibility headers upon uninstall

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24886 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2007-03-17 16:37:48 +00:00
parent 739595ad04
commit 21ab0deca9
2 changed files with 24 additions and 5 deletions

View file

@ -2,7 +2,11 @@
* Panels/GNUmakefile.postamble (after-uninstall): Fixed uninstall
target.
* Source/CompatibilityHeaders.make (after-install): Use
ECHO_NOTHING and END_ECHO.
(after-uninstall): New target that uninstalls the compatibility
headers.
2007-03-12 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSAffineTransform.m: Set _isIdentity for all methods

View file

@ -30,20 +30,35 @@
after-install::
@echo Installing compatibility headers...
@OLD_DIR=AppKit; NEW_DIR=GNUstepGUI; \
$(ECHO_NOTHING)OLD_DIR=AppKit; NEW_DIR=GNUstepGUI; \
LIST="$(GUI_HEADERS)" ;\
$(MKDIRS) $(GNUSTEP_HEADERS)/$$OLD_DIR; \
for I in $$LIST ; do \
(echo "#warning $$I is now included using the path <$$NEW_DIR/$$I>";\
echo "#include <$$NEW_DIR/$$I>" ) \
> $(GNUSTEP_HEADERS)/$$OLD_DIR/$$I; \
done
done$(END_ECHO)
@OLD_DIR=gnustep/gui; NEW_DIR=GNUstepGUI; \
$(ECHO_NOTHING)OLD_DIR=gnustep/gui; NEW_DIR=GNUstepGUI; \
LIST="$(GUI_HEADERS)" ;\
$(MKDIRS) $(GNUSTEP_HEADERS)/$$OLD_DIR; \
for I in $$LIST ; do \
(echo "#warning $$I is now included using the path <$$NEW_DIR/$$I>";\
echo "#include <$$NEW_DIR/$$I>" ) \
> $(GNUSTEP_HEADERS)/$$OLD_DIR/$$I; \
done
done$(END_ECHO)
after-uninstall::
@echo Uninstalling compatibility headers...
$(ECHO_NOTHING)OLD_DIR=AppKit; \
LIST="$(GUI_HEADERS)" ;\
for I in $$LIST ; do \
rm -f $(GNUSTEP_HEADERS)/$$OLD_DIR/$$I; \
done$(END_ECHO)
$(ECHO_NOTHING)OLD_DIR=gnustep/gui; \
LIST="$(GUI_HEADERS)" ;\
for I in $$LIST ; do \
rm -f $(GNUSTEP_HEADERS)/$$OLD_DIR/$$I; \
done$(END_ECHO)