2000-01-22 12:49:49 +00:00
|
|
|
#
|
|
|
|
# Makefile.postamble
|
|
|
|
#
|
|
|
|
# Copyright (C) 1997 Free Software Foundation, Inc.
|
|
|
|
#
|
|
|
|
# Author: Scott Christley <scottc@net-community.com>
|
|
|
|
#
|
|
|
|
# This file is part of the GNUstep Base 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.
|
|
|
|
#
|
|
|
|
# If you are interested in a warranty or support for this source code,
|
|
|
|
# contact Scott Christley at scottc@net-community.com
|
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
|
|
|
#
|
|
|
|
# Makefile.postamble
|
|
|
|
#
|
|
|
|
# Project specific makefile rules
|
|
|
|
#
|
|
|
|
# Uncomment the targets you want.
|
|
|
|
# The double colons (::) are important, do not make them single colons
|
|
|
|
# otherwise the normal makefile rules will not be performed.
|
|
|
|
#
|
|
|
|
|
|
|
|
# Things to do before compiling
|
|
|
|
# before-all::
|
|
|
|
|
|
|
|
# Things to do after compiling
|
|
|
|
# after-all::
|
|
|
|
|
|
|
|
# Things to do before installing
|
2000-08-25 10:36:16 +00:00
|
|
|
# before-install:: autodoc gsdoc
|
|
|
|
|
|
|
|
autodocs:
|
|
|
|
echo $($(LIBRARY_NAME)_HEADER_FILES)
|
|
|
|
mkdir -p Doc/tmp
|
|
|
|
rm -f Doc/tmp/*
|
|
|
|
autodoc -allclasses -format html -template /usr/GNUstep/System/Libraries/Resources/DocTemplates/AutoDocTemplate.gsdoc -destination Doc/tmp/ -copyright "Copyright (C) 1999-200 Free Software Foundation, Inc." -define-author-name "Manuel Guesdon" -define-author-email "mguesdon@orange-concept.com" -define-author-desc "Developer" -define-author-url "http://www.gnustep.org/developers/whoiswho.html" -define-dtd-ref "/usr/GNUstep/System/Libraries/Resources/DTDs/gsdoc-0_6_6.dtd" -define-stylesheeturl "http://www.orange-concept.com/styles/default.css" -define-basetitle "GNUstepWeb - GSWeb" -define-dtd-url "http://www.gnustep.org/gsdoc-0_6_6.xml" -define-next "[[next]]" -define-prev "[[prev]]" -define-up "[[up]]" $($(LIBRARY_NAME)_HEADER_FILES)
|
|
|
|
mmv "Doc/tmp/*.html" "Doc/tmp/#1.gsdoc"
|
|
|
|
mv -f Doc/tmp/*.gsdoc Doc/
|
|
|
|
|
|
|
|
gsdocs:
|
|
|
|
@(cd Doc; \
|
|
|
|
gsdoc --verbose=1 --makeRefs --makeIndex --makeIndexTemplate=/usr/GNUstep/System/Libraries/Resources/DocTemplates/indextemplate.gsdoc --projectName="GSWeb" --refs=../../../ --define-version=1.0 --location="/usr/local/doc/dev/test/gsweb/GSWeb" --define-stylesheeturl="http://www.orange-concept.com/styles/default.css" --define-basetitle="GNUstepWeb - GSWeb" --define-dtd-url="http://www.gnustep.org/gsdoc-0_6_6.xml" --define-authorName="Manuel Guesdon" --define-author-email="mguesdon@orange-concept.com" --define-authorDesc="Developer" --define-authorURL="http://www.gnustep.org/developers/whoiswho.html" --define-copyright="Copyright (C) 1999-2000 Free Software Foundation, Inc." --define-date="" --define-up="../index" "*.gsdoc" ; \
|
|
|
|
cd ..; )
|
2000-01-22 12:49:49 +00:00
|
|
|
|
|
|
|
# Things to do after installing
|
2000-10-04 22:19:43 +00:00
|
|
|
after-install::
|
|
|
|
@if [ ! -f $(dstDTDDir) ]; then \
|
|
|
|
$(MKDIRS) $(dstDTDDir); \
|
|
|
|
fi; \
|
|
|
|
for file in $(DTD_FILES); do \
|
|
|
|
$(INSTALL_DATA) $(srcDTDDir)/$$file $(dstDTDDir)/$$file; \
|
|
|
|
done;
|
2000-01-22 12:49:49 +00:00
|
|
|
|
|
|
|
# Things to do before uninstalling
|
|
|
|
# before-uninstall::
|
|
|
|
|
|
|
|
# Things to do after uninstalling
|
|
|
|
# after-uninstall::
|
|
|
|
|
|
|
|
# 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:
|
|
|
|
|
|
|
|
copy-dist: $(DIST_FILES)
|