mirror of
https://github.com/gnustep/libs-back.git
synced 2025-02-23 11:51:27 +00:00
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@13249 72102866-910b-0410-8b05-ffd578937521
91 lines
2.9 KiB
Makefile
91 lines
2.9 KiB
Makefile
#
|
|
# Documentation makefile for the GNUstep Backend Library
|
|
# Copyright (C) 1995 Free Software Foundation, Inc.
|
|
#
|
|
# Written by: Adam Fedor <fedor@gnu.org>
|
|
#
|
|
# This file is part of the GNUstep Backend Library.
|
|
#
|
|
# 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
|
|
GNUSTEP_INSTALLATION_DIR = $(GNUSTEP_SYSTEM_ROOT)
|
|
|
|
GNUSTEP_MAKEFILES = $(GNUSTEP_SYSTEM_ROOT)/Makefiles
|
|
|
|
GNUSTEP_LOCAL_ADDITIONAL_MAKEFILES=../back.make
|
|
include $(GNUSTEP_MAKEFILES)/common.make
|
|
|
|
include ../Version
|
|
|
|
# The documents to be generated
|
|
DOCUMENT_NAME =
|
|
|
|
# The text documents to be generated
|
|
DOCUMENT_TEXT_NAME = \
|
|
INSTALL NEWS README ANNOUNCE
|
|
|
|
TOP_DOC_FILES = INSTALL NEWS README ANNOUNCE
|
|
|
|
INSTALL_TEXI_FILES = version.texi
|
|
INSTALL_TEXT_MAIN = install.texi
|
|
INSTALL_DOC_INSTALL_DIR = Developer/Back/ReleaseNotes/$(VERSION)
|
|
|
|
NEWS_TEXI_FILES = version.texi
|
|
NEWS_TEXT_MAIN = news.texi
|
|
NEWS_DOC_INSTALL_DIR = Developer/Back/ReleaseNotes/$(VERSION)
|
|
|
|
README_TEXI_FILES = version.texi
|
|
README_TEXT_MAIN = readme.texi
|
|
README_DOC_INSTALL_DIR = Developer/Back/ReleaseNotes/$(VERSION)
|
|
|
|
ANNOUNCE_TEXI_FILES = version.texi
|
|
ANNOUNCE_TEXT_MAIN = announce.texi
|
|
ANNOUNCE_DOC_INSTALL_DIR = Developer/Back/ReleaseNotes/$(VERSION)
|
|
|
|
-include Makefile.preamble
|
|
|
|
-include GNUmakefile.local
|
|
|
|
include $(GNUSTEP_MAKEFILES)/documentation.make
|
|
|
|
-include Makefile.postamble
|
|
|
|
regenerate: $(DOCUMENT_TEXT_NAME)
|
|
mv $(TOP_DOC_FILES) ..
|
|
|
|
version.texi: ../Version
|
|
rm -f version.texi
|
|
echo '@set GNUSTEP-BACK-VERSION' $(GNUSTEP_BACK_VERSION) \
|
|
> version.texi
|
|
echo '@set GNUSTEP-BACK-GCC $(GNUSTEP_BACK_GCC)' \
|
|
>> version.texi
|
|
echo '@set GNUSTEP-BACK-DGS $(GNUSTEP_BACK_DGS)' \
|
|
>> version.texi
|
|
if [ $(GNUSTEP_BACK_FTP_MACHINE) ]; then \
|
|
echo '@set GNUSTEP-BACK-FTP-MACHINE $(GNUSTEP_BACK_FTP_MACHINE)' \
|
|
>> version.texi; fi
|
|
if [ $(GNUSTEP_BACK_FTP_DIRECTORY) ]; then \
|
|
echo '@set GNUSTEP-BACK-FTP-DIRECTORY \
|
|
$(GNUSTEP_BACK_FTP_DIRECTORY)' \
|
|
>> version.texi; fi
|
|
if [ $(GNUSTEP_BACK_SNAP_FTP_MACHINE) ]; then \
|
|
echo '@set GNUSTEP-BACK-SNAP-FTP-MACHINE \
|
|
$(GNUSTEP_BACK_SNAP_FTP_MACHINE)' \
|
|
>> version.texi; fi
|
|
if [ $(GNUSTEP_BACK_SNAP_FTP_DIRECTORY) ]; then \
|
|
echo '@set GNUSTEP-BACK-SNAP-FTP-DIRECTORY \
|
|
$(GNUSTEP_BACK_SNAP_FTP_DIRECTORY)' \
|
|
>> version.texi; fi
|