#
#  GNUmakefile for GNUstep docs directory
#  Copyright (C) 1998 Free Software Foundation, Inc.
#
#  Written by:	Adam Fedor <fedor@gnu.org>
#  Written by:	Scott Christley <scottc@net-community.com>
#
#  This file is part of GNUstep.
#
#  This package 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 package 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; if not, write to the Free
#  Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02111, USA.

# Install into the system root by default
GNUSTEP_INSTALLATION_DIR = $(GNUSTEP_SYSTEM_ROOT)

GNUSTEP_MAKEFILES = $(GNUSTEP_SYSTEM_ROOT)/Makefiles

include $(GNUSTEP_MAKEFILES)/common.make

include ../Version

# The documents to be generated
DOCUMENT_NAME = faq machines make

# The text documents to be generated
DOCUMENT_TEXT_NAME = \
INSTALL \
README \
ANNOUNCE \
NEWS \
GNUstep-HOWTO \
GNUstep-HOWTO-fr \
FAQ \
BUGS

TOP_DOC_FILES = \
INSTALL \
README \
ANNOUNCE \
NEWS \
GNUstep-HOWTO \
FAQ \
BUGS

INSTALL_TEXI_FILES = version.tmpl.texi
INSTALL_TEXT_MAIN = install.tmpl.texi

README_TEXI_FILES = version.tmpl.texi
README_TEXT_MAIN = readme.tmpl.texi

ANNOUNCE_TEXI_FILES = version.tmpl.texi news.tmpl.texi
ANNOUNCE_TEXT_MAIN = announce.tmpl.texi

NEWS_TEXI_FILES = version.tmpl.texi
NEWS_TEXT_MAIN = news.tmpl.texi

GNUstep-HOWTO_TEXI_FILES = version.tmpl.texi
GNUstep-HOWTO_TEXT_MAIN = gnustep-howto.tmpl.texi

GNUstep-HOWTO-fr_TEXI_FILES = version.tmpl.texi
GNUstep-HOWTO-fr_TEXT_MAIN = gnustep-howto-fr.tmpl.texi

FAQ_TEXI_FILES = version.tmpl.texi
FAQ_TEXT_MAIN = faq.tmpl.texi

faq_TEXI_FILES = \
faq.tmpl.texi \
version.tmpl.texi

machines_TEXI_FILES = \
machines.tmpl.texi 

gnustep-howto_TEXI_FILES = \
gnustep-howto.tmpl.texi \
version.tmpl.texi

BUGS_TEXI_FILES = \
base_todo.tmpl.texi \
gui_todo.tmpl.texi \
xdps_todo.tmpl.texi \
xgps_todo.tmpl.texi \
version.tmpl.texi
BUGS_TEXT_MAIN = todo.tmpl.texi

bugs_TEXI_FILES = \
todo.tmpl.texi \
base_todo.tmpl.texi \
gui_todo.tmpl.texi \
xdps_todo.tmpl.texi \
xgps_todo.tmpl.texi \
version.tmpl.texi

make_TEXI_FILES = \
make.tmpl.texi \
version.tmpl.texi

ttg_TEXI_FILES = \
ttg.tmpl.texi \
make.tmpl.texi \
version.tmpl.texi

#
# Include in the rules
#
-include Makefile.preamble
-include Makefile.local

include $(GNUSTEP_MAKEFILES)/documentation.make

-include Makefile.postamble
