#
#  Documentation makefile for the GNUstep GUI Library
#  Copyright (C) 1995 Free Software Foundation, Inc.
#
#  Written by: 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 Lesser 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
#  Lesser General Public License for more details.
#
#  You should have received a copy of the GNU Lesser General Public
#  License along with this library; see the file COPYING.LIB.
#  If not, see <http://www.gnu.org/licenses/> or write to the 
#  Free Software Foundation, 51 Franklin Street, Fifth Floor, 
#  Boston, MA 02110-1301, USA.

PACKAGE_NAME = gnustep-gui
GNUSTEP_LOCAL_ADDITIONAL_MAKEFILES=../gui.make
include $(GNUSTEP_MAKEFILES)/common.make

include ../Version
#include ../config.make

# The documents to be generated
DOCUMENT_NAME = ReleaseNotes

SUBPROJECTS = General GuiUser manual

# The text documents to be generated
DOCUMENT_TEXT_NAME = \
INSTALL NEWS README ANNOUNCE BUGS

gnustep-gui_TEXI_FILES = \
version.texi 
gnustep-gui_DOC_INSTALL_DIR = Developer/Gui/Manual
GuiUser_DOC_INSTALL_DIR = User/Gui

TOP_DOC_FILES = INSTALL NEWS README ANNOUNCE BUGS

INSTALL_TEXI_FILES = version.texi
INSTALL_TEXT_MAIN = install.texi
INSTALL_DOC_INSTALL_DIR = Developer/Gui/ReleaseNotes/$(VERSION)

NEWS_TEXI_FILES = version.texi
NEWS_TEXT_MAIN = news.texi
NEWS_DOC_INSTALL_DIR = Developer/Gui/ReleaseNotes/$(VERSION)

README_TEXI_FILES = version.texi
README_TEXT_MAIN = readme.texi
README_DOC_INSTALL_DIR = Developer/Gui/ReleaseNotes/$(VERSION)

ANNOUNCE_TEXI_FILES = version.texi
ANNOUNCE_TEXT_MAIN = announce.texi
ANNOUNCE_DOC_INSTALL_DIR = Developer/Gui/ReleaseNotes/$(VERSION)

BUGS_TEXI_FILES = version.texi
BUGS_TEXT_MAIN = todo.texi
BUGS_DOC_INSTALL_DIR = Developer/Gui/ReleaseNotes/$(VERSION)

# Manual pages to install
MAN1_PAGES = \
	GSSpeechServer.1 \
	gopen.1 \
	make_services.1 \
	gclose.1 \
	gcloseall.1 \
	say.1 \
	set_show_service.1

ReleaseNotes_AGSDOC_FILES = ReleaseNotes.gsdoc
ReleaseNotes_DOC_INSTALL_DIR =  Developer/Gui

# NB. Library reference documentation is generated by rules in the postamble
# file using the make file ../Source/DocMakefile.  If headers are added to the
# library, you need to modify that file to get the autogsdoc tool to use them.
#
DOCUMENT_NAME += Gui GuiAdditions
Gui_DOC_INSTALL_DIR = Developer/Gui/Reference
GuiAdditions_DOC_INSTALL_DIR = Developer/Gui/Additions

-include GNUmakefile.preamble

include $(GNUSTEP_MAKEFILES)/aggregate.make
include $(GNUSTEP_MAKEFILES)/documentation.make

-include GNUmakefile.postamble

