1# -*-makefile-*- 2# GNUmakefile.postamble 3# 4# Copyright (C) 1997 Free Software Foundation, Inc. 5# 6# Author: Scott Christley <scottc@net-community.com> 7# 8# This file is part of the GNUstep GUI Library. 9# 10# This library is free software; you can redistribute it and/or 11# modify it under the terms of the GNU Lesser General Public 12# License as published by the Free Software Foundation; either 13# version 2 of the License, or (at your option) any later version. 14# 15# This library is distributed in the hope that it will be useful, 16# but WITHOUT ANY WARRANTY; without even the implied warranty of 17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 18# Lesser General Public License for more details. 19# 20# You should have received a copy of the GNU Lesser General Public 21# License along with this library; see the file COPYING.LIB. 22# If not, see <http://www.gnu.org/licenses/> or write to the 23# Free Software Foundation, 51 Franklin Street, Fifth Floor, 24# Boston, MA 02110-1301, USA. 25 26# 27# GNUmakefile.postamble 28# 29# Project specific makefile rules 30# 31# Uncomment the targets you want. 32# The double colons (::) are important, do not make them single colons 33# otherwise the normal makefile rules will not be performed. 34# 35 36# Things to do before compiling 37# before-all:: 38 39# Things to do after compiling 40# after-all:: 41 42$(PPD_INSTALL_DIR): 43 $(MKDIRS) $(PPD_INSTALL_DIR) 44 45# Things to do before installing 46before-install:: $(PPD_INSTALL_DIR) 47 48# Things to do after installing 49after-install:: 50 for dirs in $(RESOURCE_DIRS); do \ 51 if [ ! -d $(PPD_INSTALL_DIR)/$$dirs ]; then \ 52 $(MKDIRS) $(PPD_INSTALL_DIR)/$$dirs ; \ 53 fi; \ 54 $(INSTALL_DATA) $$dirs/*ppd $(PPD_INSTALL_DIR)/$$dirs/ ; \ 55 done; \ 56 for file in $(RESOURCE_FILES); do \ 57 $(INSTALL_DATA) $$file $(RES_INSTALL_DIR) ; \ 58 done 59 60# Things to do before uninstalling 61before-uninstall:: 62 for file in $(RESOURCE_DIRS); do \ 63 rm -rf $(PPD_INSTALL_DIR)/$$file ; \ 64 done 65 for file in $(RESOURCE_FILES); do \ 66 rm -f $(RES_INSTALL_DIR)/$$file ; \ 67 done 68 69# Things to do after uninstalling 70# after-uninstall:: 71 72# Things to do before cleaning 73# before-clean:: 74 75# Things to do after cleaning 76# after-clean:: 77 78# Things to do before distcleaning 79# before-distclean:: 80 81# Things to do after distcleaning 82# after-distclean:: 83 84# Things to do before checking 85# before-check:: 86 87# Things to do after checking 88# after-check:: 89