summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/rcs/man/Makefile.in
blob: da592aa68ce5015bbafbf19d20264ba19f8528a7 (plain)
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
# Make RCS man pages.

#	$Id: Makefile.in,v 1.2 1996/08/19 22:37:54 millert 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:
#
#    rcs-bugs@cs.purdue.edu

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
	-sh $(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 ::