2002-11-04 12:31:14 +00:00
|
|
|
# -*-makefile-*-
|
|
|
|
# Instance/Documentation/gsdoc.make
|
|
|
|
#
|
|
|
|
# Instance Makefile rules to build gsdoc documentation.
|
|
|
|
#
|
|
|
|
# Copyright (C) 1998, 2000, 2001, 2002 Free Software Foundation, Inc.
|
|
|
|
#
|
|
|
|
# Author: Scott Christley <scottc@net-community.com>
|
|
|
|
# Author: Nicola Pero <n.pero@mi.flashnet.it>
|
|
|
|
#
|
|
|
|
# This file is part of the GNUstep Makefile Package.
|
|
|
|
#
|
|
|
|
# This library is free software; you can redistribute it and/or
|
|
|
|
# modify it under the terms of the GNU General Public License
|
2007-10-30 14:18:41 +00:00
|
|
|
# as published by the Free Software Foundation; either version 3
|
2002-11-04 12:31:14 +00:00
|
|
|
# of the License, or (at your option) any later version.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public
|
2007-07-13 10:11:48 +00:00
|
|
|
# License along with this library; see the file COPYING.
|
2002-11-04 12:31:14 +00:00
|
|
|
# If not, write to the Free Software Foundation,
|
2005-05-22 03:20:14 +00:00
|
|
|
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
2002-11-04 12:31:14 +00:00
|
|
|
|
|
|
|
# The only thing we know is that each %.gsdoc file should generate a
|
|
|
|
# %.html file. If any of the %.gsdoc files is newer than a corresponding
|
|
|
|
# %.html file, we rebuild them all.
|
|
|
|
GSDOC_OBJECT_FILES = $(patsubst %.gsdoc,%.html,$(GSDOC_FILES))
|
|
|
|
|
|
|
|
internal-doc-all_:: $(GSDOC_OBJECT_FILES)
|
|
|
|
|
|
|
|
$(GSDOC_OBJECT_FILES): $(GSDOC_FILES)
|
2003-01-30 16:37:15 +00:00
|
|
|
autogsdoc $(GSDOC_FILES)
|
2002-11-04 12:31:14 +00:00
|
|
|
|
|
|
|
internal-doc-install_:: \
|
2007-02-26 15:20:05 +00:00
|
|
|
$(GNUSTEP_DOC)/$(DOC_INSTALL_DIR)/$(GNUSTEP_INSTANCE)
|
2003-05-27 12:07:03 +00:00
|
|
|
$(ECHO_INSTALLING)$(INSTALL_DATA) $(GSDOC_OBJECT_FILES) \
|
2007-02-26 15:20:05 +00:00
|
|
|
$(GNUSTEP_DOC)/$(DOC_INSTALL_DIR)/$(GNUSTEP_INSTANCE)$(END_ECHO)
|
2002-11-04 12:31:14 +00:00
|
|
|
internal-doc-uninstall_::
|
2003-05-27 12:07:03 +00:00
|
|
|
$(ECHO_UNINSTALLING)rm -f \
|
2007-02-26 15:20:05 +00:00
|
|
|
$(addprefix $(GNUSTEP_DOC)/$(DOC_INSTALL_DIR)/\
|
2003-05-27 12:07:03 +00:00
|
|
|
$(GNUSTEP_INSTANCE)/,$(GSDOC_OBJECT_FILES))$(END_ECHO)
|
2002-11-04 12:31:14 +00:00
|
|
|
|
|
|
|
internal-doc-clean::
|
2003-05-27 12:07:03 +00:00
|
|
|
-$(ECHO_NOTHING)rm -f $(GSDOC_OBJECT_FILES)$(END_ECHO)
|