summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/cvs/Makefile.am
blob: 90b7324f7615dc6bd1ab255724dd0c4a2cbbf3ab (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
## Process this file with automake to produce Makefile.in
# Master Makefile for the GNU Concurrent Versions System.
# Copyright (C) 1986, 1988-1992, 1994, 2000 Free Software Foundation, Inc.

# This program 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.

# This program 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.

AUTOMAKE_OPTIONS = 1.4a dist-bzip2

## Subdirectories to run make in for the primary targets.
# Unix source subdirs, where we'll want to run lint and etags:
# This is a legacy variable from b4 Automake
USOURCE_SUBDIRS = lib zlib diff src
# All other subdirs:
SUBDIRS = $(USOURCE_SUBDIRS) man doc contrib tools \
	windows-NT os2 emx vms

EXTRA_DIST = \
	.cvsignore \
	BUGS \
	ChangeLog.zoo \
	DEVEL-CVS \
	FAQ \
	HACKING \
	MINOR-BUGS \
	PROJECTS \
	README.VMS \
	TESTS \
	build.com \
	cvs-format.el \
	cvs.spec \
	cvs.spec.in \
	cvsnt.dsp \
	cvsnt.dsw \
	cvsnt.mak

.PHONY: remotecheck
remotecheck: all
	cd src && $(MAKE) $(AM_MAKEFLAGS) "$@"

.PHONY: doc
doc:
	cd doc && $(MAKE) $(AM_MAKEFLAGS) "$@"

## MAINTAINER Targets

## cvs.spec  ##
# - cvs.spec needs to be updated only once, since it depends on
#   configure.in, not on the results of a 'configure' run.
# - It is guaranteed (with GNU Make) that when the version in configure.in
#   is changed, acversion.m4 is built only after the new version number is
#   propagated to the Makefile.  (Libtool uses the same guarantee.)
cvs.spec: $(srcdir)/cvs.spec.in $(top_srcdir)/configure.in
	sed 's,@VERSION\@,$(VERSION),g' $(srcdir)/cvs.spec.in >cvs.tspec
	mv cvs.tspec $(srcdir)/cvs.spec

# for backwards compatibility with the old makefiles
.PHONY: realclean
realclean: maintainer-clean