1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120
|
# Makefile for building the documentation
#
# This file is part of TUA.
#
# Copyright (C) 1991,96 Lele Gaifax
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This program 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
PACKAGE = @PACKAGE@
VERSION = @VERSION@
SHELL = /bin/sh
@SET_MAKE@
# This subdirectory name
subdir = doc
#### Start of system configuration section. ####
srcdir=@srcdir@
top_srcdir = @top_srcdir@
VPATH=@srcdir@
INSTALL=@INSTALL@
INSTALL_PROGRAM=@INSTALL_PROGRAM@
INSTALL_DATA=@INSTALL_DATA@
prefix = @prefix@
exec_prefix = @exec_prefix@
transform = @program_transform_name@
# Where to install executables.
bindir = @bindir@
# Where to install library files.
libdir = @libdir@
# Where to install locale stuff
datadir = @datadir@
localedir = $(datadir)/locale
# Extension for man pages.
manext=1
# Where to install man pages.
mandir=@mandir@
# Where to install info file
infodir=@infodir@
#### End of system configuration section. ####
ROFF = groff -Tascii
TEXTEMPFILES = tua.aux tua.cp tua.cps tua.dvi \
tua.fn tua.ky tua.log tua.pg tua.toc tua.tp tua.vr
DISTFILES = ChangeLog Makefile.in README gpl.texinfo \
rluser.texinfo tua.1l tua.info tua.man tua.texinfo \
wildmat.3
all: tua.1l tua.info #tua.dvi
install: install-exec install-data
install-exec:
install-data: all
$(top_srcdir)/mkinstalldirs $(infodir) $(mandir)/man${manext}
$(INSTALL_DATA) tua.info $(infodir)
$(INSTALL_DATA) tua.1l $(mandir)/man${manext}
uninstall:
rm -f $(infodir)/tua.info
rm -f $(mandir)/man${manext}/tua.1l
tags: TAGS
TAGS:
tua.1l: tua.man
${ROFF} -man tua.man > tua.1l
tua.info: tua.texinfo
makeinfo --no-split tua.texinfo
tua.dvi: tua.texinfo
texi2dvi tua.texinfo
mostlyclean:
rm -f ${TEXTEMPFILES}
clean: mostlyclean
rm -f *~
distclean: clean
rm -f Makefile tua.dvi
maintainer-clean: distclean
@echo "This command is intended for maintainers to use;"
@echo "it deletes files that may require special tools to rebuild."
rm -f tua.1l tua.info
distdir = $(top_srcdir)/$(PACKAGE)-$(VERSION)/$(subdir)
dist: Makefile $(DISTFILES)
for file in $(DISTFILES); do \
ln $$file $(distdir) \
|| { echo copying $$file instead; cp -p $$file $(distdir);}; \
done
Makefile: Makefile.in ../config.status
cd .. && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
|