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