1*075184b7Schristos# Master makefile for RCS 2*075184b7Schristos 3*075184b7Schristos# Id: Makefile.in,v 1.6 1995/06/16 06:19:24 eggert Exp 4*075184b7Schristos 5*075184b7Schristos# Copyright 1995 Paul Eggert 6*075184b7Schristos# Distributed under license by the Free Software Foundation, Inc. 7*075184b7Schristos# 8*075184b7Schristos# This file is part of RCS. 9*075184b7Schristos# 10*075184b7Schristos# RCS is free software; you can redistribute it and/or modify 11*075184b7Schristos# it under the terms of the GNU General Public License as published by 12*075184b7Schristos# the Free Software Foundation; either version 2, or (at your option) 13*075184b7Schristos# any later version. 14*075184b7Schristos# 15*075184b7Schristos# RCS is distributed in the hope that it will be useful, 16*075184b7Schristos# but WITHOUT ANY WARRANTY; without even the implied warranty of 17*075184b7Schristos# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18*075184b7Schristos# GNU General Public License for more details. 19*075184b7Schristos# 20*075184b7Schristos# You should have received a copy of the GNU General Public License 21*075184b7Schristos# along with RCS; see the file COPYING. 22*075184b7Schristos# If not, write to the Free Software Foundation, 23*075184b7Schristos# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 24*075184b7Schristos# 25*075184b7Schristos# Report problems and direct all questions to: 26*075184b7Schristos# 27*075184b7Schristos# rcs-bugs@cs.purdue.edu 28*075184b7Schristos 29*075184b7Schristossrcdir = @srcdir@ 30*075184b7SchristosVPATH = @srcdir@ 31*075184b7Schristos 32*075184b7Schristos@SET_MAKE@ 33*075184b7SchristosSHELL = /bin/sh 34*075184b7Schristos 35*075184b7Schristosdefault :: all 36*075184b7Schristos 37*075184b7Schristosstandard_GNU_targets = \ 38*075184b7Schristos all install uninstall clean distclean mostlyclean maintainer-clean \ 39*075184b7Schristos TAGS info dvi check 40*075184b7Schristos 41*075184b7Schristosmaintainer-clean :: 42*075184b7Schristos @echo "This command is intended for maintainers to use;" 43*075184b7Schristos @echo "it deletes files that may require special tools to rebuild." 44*075184b7Schristos 45*075184b7Schristos$(standard_GNU_targets) installcheck installdebug :: 46*075184b7Schristos cd man && $(MAKE) $@ 47*075184b7Schristos cd src && $(MAKE) $@ 48*075184b7Schristos 49*075184b7Schristosdist :: $(srcdir)/configure 50*075184b7Schristos cd man && $(MAKE) rcsfile.5 51*075184b7Schristos cd src && $(MAKE) TAGS 52*075184b7Schristos $(MAKE) distclean 53*075184b7Schristos set -x && \ 54*075184b7Schristos d=rcs-`sed -n <src/version.c \ 55*075184b7Schristos 's/.*version_string[^"]*"\([0-9.]*\).*/\1/p' \ 56*075184b7Schristos ` && \ 57*075184b7Schristos rm -fr $$d && \ 58*075184b7Schristos mkdir $$d $$d/man $$d/src && \ 59*075184b7Schristos ln *.ms ChangeLog configure configure.in COPYING CREDITS \ 60*075184b7Schristos INSTALL INSTALL.RCS install-sh \ 61*075184b7Schristos Makefile.in mkinstalldirs NEWS README REFS $$d && \ 62*075184b7Schristos (cd man && ln *.[0-9] *.[0-9]in \ 63*075184b7Schristos ChangeLog COPYING Makefile.in ../$$d/man) && \ 64*075184b7Schristos (cd src && ln *.[ch] *.heg *.sh ChangeLog COPYING \ 65*075184b7Schristos Makefile.in rcstest TAGS ../$$d/src) && \ 66*075184b7Schristos tar -cbf 1 - $$d | gzip -9 >$$d.tar.gz && \ 67*075184b7Schristos rm -fr $$d 68*075184b7Schristos 69*075184b7Schristos$(srcdir)/configure : configure.in 70*075184b7Schristos cd $(srcdir) && autoconf 71*075184b7Schristos 72*075184b7Schristosconfig.status : configure 73*075184b7Schristos ./config.status --recheck 74*075184b7Schristos 75*075184b7SchristosMakefile : Makefile.in config.status 76*075184b7Schristos ./config.status 77*075184b7Schristos 78*075184b7Schristosclean :: clean. 79*075184b7Schristosclean. :: 80*075184b7Schristos rm -f confdefs* conftest* core core.* *.core 81*075184b7Schristos 82*075184b7Schristosdistclean maintainer-clean :: distclean. 83*075184b7Schristosdistclean. :: clean. 84*075184b7Schristos rm -f Makefile config.cache config.log config.status 85