mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-25 01:11:04 +00:00
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14749 72102866-910b-0410-8b05-ffd578937521
95 lines
2.6 KiB
Text
95 lines
2.6 KiB
Text
#
|
|
# GNUmakefile.postamble
|
|
#
|
|
# Copyright (C) 2002 Free Software Foundation, Inc.
|
|
#
|
|
# Author: Adam Fedor <fedor@gnu.org>
|
|
#
|
|
# This file is part of the GNUstep Gui Library.
|
|
#
|
|
# This library is free software; you can redistribute it and/or
|
|
# modify it under the terms of the GNU Library General Public
|
|
# License as published by the Free Software Foundation; either
|
|
# version 2 of the License, or (at your option) any later version.
|
|
#
|
|
# This library is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
# Library General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU Library General Public
|
|
# License along with this library; see the file COPYING.LIB.
|
|
# If not, write to the Free Software Foundation,
|
|
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
# Things to do before compiling
|
|
# before-all::
|
|
|
|
# After building local documentation, we need to run the special makefile
|
|
# in the source directory to generate library reference documentation from
|
|
# the source code.
|
|
after-all::
|
|
$(MAKE) -C ../Source -f DocMakefile
|
|
$(MAKE) -C Gui
|
|
|
|
# Things to do before installing
|
|
# before-install::
|
|
|
|
# Install the library reference documentaion manually
|
|
#
|
|
after-install::
|
|
rm -rf $(REF_DOC_INSTALL_DIR)
|
|
$(MKINSTALLDIRS) $(REF_DOC_INSTALL_DIR)
|
|
(cd Gui; $(TAR) cf - .) | \
|
|
(cd $(REF_DOC_INSTALL_DIR); $(TAR) xf -)
|
|
ifneq ($(CHOWN_TO),)
|
|
$(CHOWN) -R $(CHOWN_TO) \
|
|
$(REF_DOC_INSTALL_DIR)
|
|
endif
|
|
|
|
|
|
# Things to do before uninstalling
|
|
# before-uninstall::
|
|
|
|
# Things to do after uninstalling
|
|
after-uninstall::
|
|
rm -rf $(REF_DOC_INSTALL_DIR)
|
|
|
|
# Things to do before cleaning
|
|
# before-clean::
|
|
|
|
# Things to do after cleaning
|
|
# after-clean::
|
|
|
|
# Things to do before distcleaning
|
|
# before-distclean::
|
|
|
|
# Things to do after distcleaning
|
|
# after-distclean::
|
|
|
|
# Things to do before checking
|
|
# before-check::
|
|
|
|
# Things to do after checking
|
|
# after-check::
|
|
|
|
regenerate: $(DOCUMENT_TEXT_NAME)
|
|
mv $(TOP_DOC_FILES) ..
|
|
|
|
version.texi: ../Version
|
|
rm -f version.texi
|
|
echo '@set GNUSTEP-GUI-VERSION' $(GNUSTEP_GUI_VERSION) \
|
|
> version.texi
|
|
echo '@set GNUSTEP-GUI-GCC $(GNUSTEP_GUI_GCC)' \
|
|
>> version.texi
|
|
echo '@set GNUSTEP-GUI-BASE $(GNUSTEP_GUI_BASE)' \
|
|
>> version.texi
|
|
echo '@set GNUSTEP-GUI-LIBTIFF $(GNUSTEP_GUI_LIBTIFF)' \
|
|
>> version.texi
|
|
if [ $(GNUSTEP_GUI_FTP_MACHINE) ]; then \
|
|
echo '@set GNUSTEP-GUI-FTP-MACHINE $(GNUSTEP_GUI_FTP_MACHINE)' \
|
|
>> version.texi; fi
|
|
if [ $(GNUSTEP_GUI_FTP_DIRECTORY) ]; then \
|
|
echo '@set GNUSTEP-GUI-FTP-DIRECTORY $(GNUSTEP_GUI_FTP_DIRECTORY)' \
|
|
>> version.texi; fi
|
|
|