Makefile revision 218
1218Sconklin# Generated automatically from Makefile.in by configure. 2218Sconklin# Makefile for regex documentation. 3218Sconklin# 4218Sconklin# Copyright (C) 1992 Free Software Foundation, Inc. 5218Sconklin# 6218Sconklin# This program is free software; you can redistribute it and/or modify 7218Sconklin# it under the terms of the GNU General Public License as published by 8218Sconklin# the Free Software Foundation; either version 2, or (at your option) 9218Sconklin# any later version. 10218Sconklin# 11218Sconklin# This program is distributed in the hope that it will be useful, 12218Sconklin# but WITHOUT ANY WARRANTY; without even the implied warranty of 13218Sconklin# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14218Sconklin# GNU General Public License for more details. 15218Sconklin# 16218Sconklin# You should have received a copy of the GNU General Public License 17218Sconklin# along with this program; if not, write to the Free Software 18218Sconklin# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 19218Sconklin 20218Sconklin# Installation directories. 21218Sconklinprefix = /usr 22218Sconklininfodir = $(prefix)/info 23218Sconklin 24218Sconklinsrcdir = . 25218SconklinVPATH = .:../. 26218Sconklin 27218SconklinINSTALL = /usr/bin/install -c 28218SconklinINSTALL_DATA = $(INSTALL) -m 644 29218Sconklin 30218SconklinMAKEINFO = makeinfo --no-split 31218SconklinSHELL = /bin/sh 32218SconklinTEX = tex 33218SconklinTEXINDEX = texindex 34218Sconklin 35218Sconklindefault all: regex.info regex.dvi 36218Sconklin.PHONY: default all 37218Sconklin 38218Sconklin# We need to include some code from regex.h. 39218Sconklinregex.texi: xregex.texi 40218Sconklin rm -f $@ 41218Sconklin gawk -f include.awk -vsource=../$(srcdir)/regex.h \ 42218Sconklin <../$(srcdir)/doc/xregex.texi \ 43218Sconklin | expand >$@ 44218Sconklin chmod a-w $@ 45218Sconklin 46218Sconklinregex.dvi: regex.cps 47218Sconklin $(TEX) regex.texi 48218Sconklinregex.cps: regex.cp 49218Sconklin $(TEXINDEX) regex.?? 50218Sconklinregex.cp: regex.texi 51218Sconklin $(TEX) ../$(srcdir)/doc/regex.texi 52218Sconklin 53218Sconklinregex.info: regex.texi 54218Sconklin $(MAKEINFO) ../$(srcdir)/doc/regex.texi 55218Sconklin 56218Sconklin# I know of no way to make a good TAGS file from Texinfo source. 57218SconklinTAGS: 58218Sconklin 59218Sconklincheck: 60218Sconklin.PHONY: check 61218Sconklin 62218Sconklininstall: regex.info 63218Sconklin -mkdir $(prefix) $(infodir) 64218Sconklin for i in *.info*; do $(INSTALL_DATA) $$i $(infodir)/$$i; done 65218Sconklin.PHONY: install 66218Sconklin 67218Sconklinclean mostlyclean: 68218Sconklin rm -f regex.?? *.dvi *.log *.toc 69218Sconklin 70218Sconklindistclean: clean 71218Sconklin rm -f Makefile 72218Sconklin for f in regex.??s; do if test -z "`cat $$f`"; then rm -f $$f; fi; done 73218Sconklin 74218Sconklinrealclean: distclean 75218Sconklin rm -f *.info* regex.??? regex.texi TAGS 76218Sconklin 77218Sconklinextraclean: distclean 78218Sconklin rm -f patch* *~* *\#* *.orig *.rej *.bak core a.out 79218Sconklin.PHONY: mostlyclean clean distclean realclean extraclean 80218Sconklin 81218SconklinMakefile: Makefile.in ../config.status 82218Sconklin (cd ..; sh config.status) 83218Sconklin 84218Sconklin# Prevent GNU make 3 from overflowing arg limit on system V. 85218Sconklin.NOEXPORT: 86218Sconklin 87218Sconklin# Assumes $(distdir) is the place to put our files. 88218Sconklindistfiles = Makefile.in *.texi texinfo.tex include.awk \ 89218Sconklin regex.info* regex.aux regex.cps 90218Sconklindist: Makefile regex.info regex.cps 91218Sconklin mkdir $(distdir) 92218Sconklin ln $(distfiles) $(distdir) 93218Sconklin.PHONY: dist 94