Do not use GNUSTEP_INSTALLATION_DIR

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24551 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
nicola 2007-02-14 12:18:10 +00:00
parent 2a1cdb81b8
commit 862d1fc51d
3 changed files with 10 additions and 4 deletions

View file

@ -1,3 +1,9 @@
2007-02-14 Nicola Pero <nicola.pero@meta-innovation.com>
* Fonts/GNUmakefile (back-resources_INSTALL_DIR): New variable.
* Fonts/GNUmakefile.postamble (before-uninstall): Updated the
install rules to not use GNUSTEP_INSTALLATION_DIR.
2007-02-13 Xavier Glattard <xavier.glattard@free.fr>
configure.ac: opengl fixups for win32

View file

@ -27,7 +27,7 @@ GNUSTEP_LOCAL_ADDITIONAL_MAKEFILES=../back.make
include $(GNUSTEP_MAKEFILES)/common.make
#RESOURCE_SET_NAME = back-resources
back-resources_RESOURCE_FILES_INSTALL_DIR = Library/Fonts
back-resources_INSTALL_DIR = $(GNUSTEP_LIBRARY)/Fonts
back-resources_RESOURCE_FILES = $(FONT_INSTALL_FILES)
FONT_INSTALL_FILES = Helvetica.nfont

View file

@ -34,15 +34,15 @@
# Things to do after installing
after-install::
mkdir -p $(GNUSTEP_INSTALLATION_DIR)/$(back-resources_RESOURCE_FILES_INSTALL_DIR)
mkdir -p $(back-resources_INSTALL_DIR)
for file in $(FONT_INSTALL_FILES); do \
($(TAR) cfX - $(GNUSTEP_MAKEFILES)/tar-exclude-list $$file) | (cd $(GNUSTEP_INSTALLATION_DIR)/$(back-resources_RESOURCE_FILES_INSTALL_DIR); $(TAR) xf -) ;\
($(TAR) cfX - $(GNUSTEP_MAKEFILES)/tar-exclude-list $$file) | (cd $(back-resources_INSTALL_DIR); $(TAR) xf -) ;\
done
# Things to do before uninstalling
before-uninstall::
for file in $(FONT_INSTALL_FILES); do \
rm -rf $(GNUSTEP_INSTALLATION_DIR)/$(back-resources_RESOURCE_FILES_INSTALL_DIR)/$$file;\
rm -rf $(back-resources_INSTALL_DIR)/$$file;\
done
# Things to do after uninstalling