1997-09-29 13:34:01 +00:00
|
|
|
#
|
|
|
|
# doc makefile for the GNUstep Base Library
|
|
|
|
# Copyright (C) 1995 Free Software Foundation, Inc.
|
|
|
|
#
|
|
|
|
# Written by: Andrew Kachites McCallum <mccallum@gnu.ai.mit.edu>
|
|
|
|
#
|
|
|
|
# This file is part of the GNUstep Base Library.
|
|
|
|
#
|
|
|
|
# This library is free software; you can redistribute it and/or
|
2005-07-15 22:51:23 +00:00
|
|
|
# modify it under the terms of the GNU General Public
|
1997-09-29 13:34:01 +00:00
|
|
|
# License as published by the Free Software Foundation; either
|
2007-09-14 11:36:11 +00:00
|
|
|
# version 3 of the License, or (at your option) any later version.
|
1997-09-29 13:34:01 +00:00
|
|
|
#
|
|
|
|
# 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
|
2005-07-15 22:51:23 +00:00
|
|
|
# General Public License for more details.
|
1997-09-29 13:34:01 +00:00
|
|
|
#
|
2005-07-15 22:51:23 +00:00
|
|
|
# You should have received a copy of the GNU General Public
|
1997-09-29 13:34:01 +00:00
|
|
|
# License along with this library; if not, write to the Free
|
2006-06-14 09:12:30 +00:00
|
|
|
# Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
|
|
|
# Boston, MA 02111 USA.
|
1997-09-29 13:34:01 +00:00
|
|
|
|
2007-02-20 00:09:10 +00:00
|
|
|
ifeq ($(GNUSTEP_MAKEFILES),)
|
|
|
|
GNUSTEP_MAKEFILES := $(shell gnustep-config --variable=GNUSTEP_MAKEFILES 2>/dev/null)
|
2009-05-04 07:23:46 +00:00
|
|
|
ifeq ($(GNUSTEP_MAKEFILES),)
|
2009-05-29 10:17:21 +00:00
|
|
|
$(warning )
|
|
|
|
$(warning Unable to obtain GNUSTEP_MAKEFILES setting from gnustep-config!)
|
|
|
|
$(warning Perhaps gnustep-make is not properly installed,)
|
|
|
|
$(warning so gnustep-config is not in your PATH.)
|
|
|
|
$(warning )
|
|
|
|
$(warning Your PATH is currently $(PATH))
|
|
|
|
$(warning )
|
2009-05-04 07:23:46 +00:00
|
|
|
endif
|
2007-02-20 00:09:10 +00:00
|
|
|
endif
|
2007-02-19 14:26:53 +00:00
|
|
|
|
|
|
|
ifeq ($(GNUSTEP_MAKEFILES),)
|
|
|
|
$(error You need to set GNUSTEP_MAKEFILES before compiling!)
|
|
|
|
endif
|
|
|
|
|
2008-12-19 12:53:30 +00:00
|
|
|
PACKAGE_NAME = gnustep-base
|
2007-02-20 00:09:10 +00:00
|
|
|
GNUSTEP_LOCAL_ADDITIONAL_MAKEFILES=../base.make
|
|
|
|
|
1998-02-06 17:22:46 +00:00
|
|
|
include $(GNUSTEP_MAKEFILES)/common.make
|
1997-09-29 13:34:01 +00:00
|
|
|
|
2009-05-16 19:25:07 +00:00
|
|
|
-include ../Version
|
|
|
|
-include ../config.mak
|
1997-09-29 13:34:01 +00:00
|
|
|
|
1998-04-06 02:09:44 +00:00
|
|
|
# The documents to be generated
|
2002-01-02 21:01:26 +00:00
|
|
|
DOCUMENT_NAME = coding-standards
|
2004-06-10 19:39:32 +00:00
|
|
|
ifeq ($(HAVE_LIBXML),1)
|
|
|
|
DOCUMENT_NAME += ReleaseNotes
|
|
|
|
endif
|
1997-09-29 13:34:01 +00:00
|
|
|
|
2004-01-26 04:42:28 +00:00
|
|
|
SUBPROJECTS = manual General
|
2003-10-06 03:32:37 +00:00
|
|
|
|
1998-04-06 02:09:44 +00:00
|
|
|
# The text documents to be generated
|
|
|
|
DOCUMENT_TEXT_NAME = \
|
2011-03-18 23:11:20 +00:00
|
|
|
INSTALL NEWS README ANNOUNCE
|
1998-04-06 02:09:44 +00:00
|
|
|
|
2014-10-19 09:50:29 +00:00
|
|
|
TOP_DOC_FILES = INSTALL NEWS README ANNOUNCE
|
1998-04-06 02:09:44 +00:00
|
|
|
|
|
|
|
gnustep-base_TEXI_FILES = \
|
2000-11-07 04:50:41 +00:00
|
|
|
version.texi \
|
|
|
|
gnustep-base.texi \
|
|
|
|
gnustep-zones.texi
|
2000-11-06 17:07:03 +00:00
|
|
|
gnustep-base_DOC_INSTALL_DIR = Developer/Base/Manual
|
1997-09-29 13:34:01 +00:00
|
|
|
|
2000-03-17 15:53:44 +00:00
|
|
|
coding-standards_TEXI_FILES = \
|
2000-11-07 04:50:41 +00:00
|
|
|
coding-standards.texi
|
2000-11-06 17:07:03 +00:00
|
|
|
coding-standards_DOC_INSTALL_DIR = Developer/CodingStandards
|
2000-03-17 15:53:44 +00:00
|
|
|
|
2000-11-07 04:50:41 +00:00
|
|
|
INSTALL_TEXI_FILES = version.texi
|
|
|
|
INSTALL_TEXT_MAIN = install.texi
|
2000-11-06 17:07:03 +00:00
|
|
|
INSTALL_DOC_INSTALL_DIR = Developer/Base/ReleaseNotes/$(VERSION)
|
1997-09-29 13:34:01 +00:00
|
|
|
|
2000-11-07 04:50:41 +00:00
|
|
|
NEWS_TEXI_FILES = version.texi
|
|
|
|
NEWS_TEXT_MAIN = news.texi
|
2000-11-06 17:07:03 +00:00
|
|
|
NEWS_DOC_INSTALL_DIR = Developer/Base/ReleaseNotes/$(VERSION)
|
1998-04-06 02:09:44 +00:00
|
|
|
|
2000-11-07 04:50:41 +00:00
|
|
|
README_TEXI_FILES = version.texi
|
|
|
|
README_TEXT_MAIN = readme.texi
|
2000-11-06 17:07:03 +00:00
|
|
|
README_DOC_INSTALL_DIR = Developer/Base/ReleaseNotes/$(VERSION)
|
1997-10-31 16:26:44 +00:00
|
|
|
|
2000-11-07 04:50:41 +00:00
|
|
|
ANNOUNCE_TEXI_FILES = version.texi
|
|
|
|
ANNOUNCE_TEXT_MAIN = announce.texi
|
2000-11-06 17:07:03 +00:00
|
|
|
ANNOUNCE_DOC_INSTALL_DIR = Developer/Base/ReleaseNotes/$(VERSION)
|
1997-10-31 16:26:44 +00:00
|
|
|
|
2004-06-10 19:39:32 +00:00
|
|
|
ReleaseNotes_DOC_INSTALL_DIR = Developer/Base/
|
|
|
|
|
|
|
|
ReleaseNotes_AGSDOC_FILES = \
|
|
|
|
ReleaseNotes.gsdoc
|
|
|
|
|
|
|
|
#
|
|
|
|
# Hack ... using the -DocumentationDirectory flag overrides the value
|
|
|
|
# used by the make package, and puts our output in the documentation
|
|
|
|
# directory.
|
|
|
|
#
|
|
|
|
#ReleaseNotes_AGSDOC_FLAGS = -DocumentationDirectory .
|
2014-06-30 06:20:36 +00:00
|
|
|
ReleaseNotes_AGSDOC_FLAGS = -DTDs ../Tools
|
2004-06-10 19:39:32 +00:00
|
|
|
|
|
|
|
# Use local version of autogsdoc in case it is not installed
|
2014-06-30 06:20:36 +00:00
|
|
|
LD_LIBRARY_PATH := $(dir $(CURDIR))/Source/$(GNUSTEP_OBJ_DIR_NAME):$(LD_LIBRARY_PATH)
|
2006-06-14 09:12:30 +00:00
|
|
|
AUTOGSDOC=../Tools/$(GNUSTEP_OBJ_DIR_NAME)/autogsdoc
|
2004-06-10 19:39:32 +00:00
|
|
|
BASE_MAKE_LOADED=yes
|
|
|
|
|
2002-08-16 08:35:18 +00:00
|
|
|
#
|
|
|
|
# NB. Library reference documentation is generated by rules in the postamble
|
|
|
|
# file using the make file ../Source/DocMakefile. If headers are added to the
|
2002-10-09 15:53:25 +00:00
|
|
|
# library, you need to modify that file to get the autogsdoc tool to use them.
|
2002-08-16 08:35:18 +00:00
|
|
|
#
|
2010-07-26 21:57:09 +00:00
|
|
|
REF_DOC_INSTALL_DIR = $(GNUSTEP_DOC)/Developer
|
2002-08-16 08:35:18 +00:00
|
|
|
|
1998-04-06 02:09:44 +00:00
|
|
|
-include Makefile.preamble
|
1998-12-17 22:22:03 +00:00
|
|
|
|
1998-04-06 02:09:44 +00:00
|
|
|
include $(GNUSTEP_MAKEFILES)/documentation.make
|
2003-10-06 03:32:37 +00:00
|
|
|
include $(GNUSTEP_MAKEFILES)/aggregate.make
|
1998-04-06 02:09:44 +00:00
|
|
|
|
|
|
|
-include Makefile.postamble
|