# # Documentation makefile for the GNUstep Makefile Package # Copyright (C) 2000 Free Software Foundation, Inc. # # Written: Adam Fedor # # 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. # # 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., 59 Temple Place, Suite 330, Boston, MA 02111 USA. # Install into the system root by default prefix = @prefix@ GNUSTEP_INSTALLATION_DIR = $(prefix) GNUSTEP_DOCUMENTATION = $(GNUSTEP_INSTALLATION_DIR)/Documentation MAKEFILE_NAME = GNUmakefile include ../Version GNUSTEP_MAKEINFO = makeinfo GNUSTEP_MAKEINFO_FLAGS = -D NO-TEXI2HTML --no-header GNUSTEP_MAKETEXT = makeinfo GNUSTEP_MAKETEXT_FLAGS = -D NO-TEXI2HTML -D TEXT-ONLY --no-header --no-split GNUSTEP_TEXI2DVI = texi2dvi GNUSTEP_TEXI2DVI_FLAGS = GNUSTEP_TEXI2HTML = texi2html GNUSTEP_TEXI2HTML_FLAGS = -split_chapter -expandinfo GNUSTEP_DVIPS = dvips GNUSTEP_DVIPS_FLAGS = TAR = @TAR@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ MKDIRS = ../mkinstalldirs # The documents to be generated DOCUMENT_NAME = make gnustep-howto machines faq internals # The text documents to be generated DOCUMENT_TEXT_NAME = FAQ INSTALL README NEWS GNUstep-HOWTO ANNOUNCE TOP_DOC_FILES = FAQ INSTALL README NEWS GNUstep-HOWTO ANNOUNCE GNUstep-HOWTO_TEXI_FILES = version.texi GNUstep-HOWTO_TEXT_MAIN = gnustep-howto.texi GNUstep-HOWTO_DOC_INSTALL_DIR = User/GNUstep/ FAQ_TEXI_FILES = version.texi FAQ_TEXT_MAIN = faq.texi FAQ_DOC_INSTALL_DIR = User/GNUstep/ make_TEXI_FILES = \ make.texi make_DOC_INSTALL_DIR = Developer/Make/Manual/ faq_TEXI_FILES = \ faq.texi \ version.texi faq_DOC_INSTALL_DIR = User/GNUstep/ machines_TEXI_FILES = \ machines.texi machines_DOC_INSTALL_DIR = User/GNUstep/ gnustep-howto_TEXI_FILES = \ gnustep-howto.texi \ version.texi gnustep-howto_DOC_INSTALL_DIR = User/GNUstep/ internals_LATEX_FILES = \ internals.tex internals_DOC_INSTALL_DIR = Developer/Make/Manual/Internals/ INSTALL_TEXI_FILES = version.texi INSTALL_TEXT_MAIN = install.texi INSTALL_DOC_INSTALL_DIR = Developer/Make/ReleaseNotes/$(GNUSTEP_MAKE_VERSION) NEWS_TEXI_FILES = version.texi NEWS_TEXT_MAIN = news.texi NEWS_DOC_INSTALL_DIR = Developer/Make/ReleaseNotes/$(GNUSTEP_MAKE_VERSION) README_TEXI_FILES = version.texi README_TEXT_MAIN = readme.texi README_DOC_INSTALL_DIR = Developer/Make/ReleaseNotes/$(GNUSTEP_MAKE_VERSION) ANNOUNCE_TEXI_FILES = version.texi ANNOUNCE_TEXT_MAIN = announce.texi ANNOUNCE_DOC_INSTALL_DIR = Developer/Make/ReleaseNotes/$(GNUSTEP_MAKE_VERSION) include makerules.make include makedoc.make regenerate: all mv -f $(TOP_DOC_FILES) .. version.texi: ../Version rm -f version.texi echo '@set GNUSTEP-MAKE-VERSION' $(GNUSTEP_MAKE_VERSION) \ > version.texi after-install:: $(GNUSTEP_DOCUMENTATION)/Developer/Make/Manual $(INSTALL_DATA) DESIGN $(GNUSTEP_DOCUMENTATION)/Developer/Make/Manual after-uninstall:: rm -f $(GNUSTEP_DOCUMENTATION)/Developer/Make/Manual/DESIGN