# Make RCS man pages.
# Id: Makefile.in,v 5.6 1995/06/16 06:19:24 eggert Exp
# Copyright 1995 Paul Eggert
# Distributed under license by the Free Software Foundation, Inc.
#
# This file is part of RCS.
#
# RCS 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.
#
# RCS 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 RCS; see the file COPYING.
# If not, write to the Free Software Foundation,
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
# Report problems and direct all questions to:
#
#
[email protected]
srcdir = @srcdir@
VPATH = @srcdir@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
PIC = @PIC@
prefix = @prefix@
man1dir = $(prefix)/man/man1
man5dir = $(prefix)/man/man5
man1ext = .1
man5ext = .5
SHELL = /bin/sh
all default :: rcsfile.5
rcsfile.5 : rcsfile.5in
$(PIC) $(PICFLAGS) $(srcdir)/$@in >$@
check dvi info TAGS ::
installdirs :: ../mkinstalldirs
-$(srcdir)/../mkinstalldirs $(man1dir) $(man5dir)
man1pages = ci co ident merge rcs rcsclean rcsdiff rcsintro rcsmerge rlog
install :: installdirs
-for m in $(man1pages); do \
$(INSTALL_DATA) $(srcdir)/$$m.1 $(man1dir)/$$m$(man1ext); \
done
-{ test -f rcsfile.5 || cd $(srcdir); } && \
$(INSTALL_DATA) rcsfile.5 $(man5dir)/rcsfile$(man5ext)
uninstall ::
for m in $(man1pages); do \
rm -f $(man1dir)/$$m$(man1ext); \
done
rm -f $(man5dir)/rcsfile$(man5ext)
clean mostlyclean ::
rm -f core core.* *.core
distclean :: clean
rm -f Makefile
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 rcsfile.5
installcheck installdebug ::