libs-base/Documentation/Makefile.in
Andrew McCallum 027d1793f3 (TEXI_FILES): Added machines.texi.
(info): Removed libobjects.texi and objective-c.texi.
(objective-c): Print apology about makeinfo.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@449 72102866-910b-0410-8b05-ffd578937521
1995-06-28 22:31:35 +00:00

134 lines
4 KiB
Makefile

#
# Documentation makefile for Objective-C Class Library
# Copyright (C) 1995 Free Software Foundation, Inc.
#
# Written by: R. Andrew McCallum <mccallum@gnu.ai.mit.edu>
#
# This file is part of the GNU Objective-C Class 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., 675 Mass Ave, Cambridge, MA 02139, USA.
SHELL = /bin/sh
#### Start of system configuration section. ####
srcdir = @srcdir@
VPATH = @srcdir@
# Installation location
prefix = @prefix@
infodir = $(prefix)/info
MAKEINFO = makeinfo
TEXI2DVI = texi2dvi
#### End of system configuration section. ####
include $(srcdir)/../Makeconf
include $(srcdir)/../Version
TEXI_FILES = \
advertisement.texi \
announce.texi \
install.texi \
libobjects.texi \
news.texi \
objective-c.texi \
readme.texi \
todo.texi \
machines.texi
all:
info: TODO INSTALL NEWS README ANNOUNCE ADVERTISEMENT
dvi: libobjects.dvi objective-c.dvi
version.texi: $(srcdir)/../Version
rm -f version.texi
echo '@set OBJECTS_VERSION' $(OBJECTS_VERSION) \
> version.texi
echo '@set OBJECTS_GCC_VERSION' $(OBJECTS_GCC_VERSION) \
>> version.texi
if [ $(OBJECTS_FTP_MACHINE) ]; then \
echo '@set OBJECTS_FTP_MACHINE' $(OBJECTS_FTP_MACHINE) \
>> version.texi; fi
if [ $(OBJECTS_FTP_DIRECTORY) ]; then \
echo '@set OBJECTS_FTP_DIRECTORY' $(OBJECTS_FTP_DIRECTORY) \
>> version.texi; fi
libobjects.dvi: libobjects.texi version.texi
$(TEXI2DVI) $(srcdir)/libobjects.texi
objective-c.dvi: objective-c.texi
$(TEXI2DVI) $(srcdir)/objective-c.texi
libobjects.info: libobjects.texi todo.texi version.texi
@echo Sorry, makeinfo does not yet support Objective C documentation.
:$(MAKEINFO) $(srcdir)/libobjects.texi
objective-c.info: objective-c.texi
@echo Sorry, makeinfo does not yet support Objective C documentation.
:$(MAKEINFO) $(srcdir)/objective-c.texi
TODO: todo.texi version.texi
$(MAKEINFO) -o TODO -D TODO_ONLY \
--no-header --no-split $(srcdir)/todo.texi
INSTALL: install.texi version.texi
$(MAKEINFO) -o INSTALL -D INSTALL_ONLY \
--no-header --no-split $(srcdir)/install.texi
README: readme.texi version.texi
$(MAKEINFO) -o README -D README_ONLY \
--no-header --no-split $(srcdir)/readme.texi
ANNOUNCE: announce.texi version.texi news.texi
$(MAKEINFO) -o ANNOUNCE -D ANNOUNCE_ONLY \
--no-header --no-split $(srcdir)/announce.texi
NEWS: news.texi version.texi
$(MAKEINFO) -o NEWS -D NEWS_ONLY \
--no-header --no-split $(srcdir)/news.texi
ADVERTISEMENT: advertisement.texi version.texi
$(MAKEINFO) -o ADVERTISEMENT -D ADVERTISEMENT_ONLY \
--no-header --no-split $(srcdir)/advertisement.texi
TOP_DOC_FILES = README TODO INSTALL NEWS
RCS_FILES = $(TEXI_FILES) Makefile.in
DIST_FILES = $(RCS_FILES) texinfo.tex version.texi \
$(TOP_DOC_FILES) ANNOUNCE ADVERTISEMENT
# In the future we'll want to install libobjects.info and objective-c.info.
install:
uninstall:
mostlyclean:
rm -f *~
clean: mostlyclean
rm -f *.info
rm -f libobjects.dvi libobjects.aux libobjects.log \
libobjects.toc libobjects.cl \
libobjects.cp libobjects.cps libobjects.fn libobjects.fns \
libobjects.ky libobjects.pg libobjects.pr libobjects.tp \
libobjects.vr
distclean: clean
rm -f Makefile
realclean: distclean
rm -f libobjects.info version.texi \
README TODO INSTALL NEWS ANNOUNCE
copy-dist: $(DIST_FILES)
mkdir ../snap/doc
ln $(DIST_FILES) ../snap/doc
ln $(TOP_DOC_FILES) ../snap
Makefile: Makefile.in
cd ..; $(SHELL) config.status