source: trunk/man/Makefile.am @ 1525

Last change on this file since 1525 was 1525, checked in by Peter Johansson, 9 years ago

replace recursive Makefile with one single Makefile. Keeping multiple Makefile.ams which are included into main Makefile.am.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 KB
Line 
1## Process this file with automake to produce Makefile.in
2##
3## $Id: Makefile.am 1525 2012-10-01 06:31:07Z peter $
4
5# Copyright (C) 2008, 2009, 2010, 2011 Peter Johansson
6#
7# This file is part of svndigest, http://dev.thep.lu.se/trac/svndigest
8#
9# svndigest is free software; you can redistribute it and/or modify it
10# under the terms of the GNU General Public License as published by
11# the Free Software Foundation; either version 3 of the License, or
12# (at your option) any later version.
13#
14# svndigest is distributed in the hope that it will be useful, but
15# WITHOUT ANY WARRANTY; without even the implied warranty of
16# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
17# General Public License for more details.
18#
19# You should have received a copy of the GNU General Public License
20# along with svndigest. If not, see <http://www.gnu.org/licenses/>.
21
22dist_man1_MANS =
23dist_man1_MANS += $(srcdir)/man/svncopyright.1
24dist_man1_MANS += $(srcdir)/man/svndigest.1
25dist_man1_MANS += $(srcdir)/man/svndigest-copy-cache.1
26
27EXTRA_DIST += man/svndigest.x
28
29MAINTAINERCLEANFILES += $(dist_man1_MANS)
30
31# We would like to depend on binaries, but since svndigest.1
32# is distributed it is recommended to depend on only distributed files
33# (see automake manual 28.5).
34# We depend on configure to catch VERSION changes, Makefile.in to
35# catch rules changes, svndigest.x is an obvious dependency, and
36# .revision changes for every revision.
37man_deps=$(top_srcdir)/configure $(srcdir)/Makefile.in \
38  $(srcdir)/man/svndigest.x $(top_srcdir)/.revision
39
40## FIXME can we achieve similar behaviour without make invocations
41
42$(srcdir)/man/svndigest.1: $(man_deps)
43  @$(MAKE) $(AM_MAKE_FLAGS) bin/svndigest$(EXEEXT)
44  $(AM_V_at)$(HELP2MAN) --no-info -o $@ \
45  --include $(srcdir)/man/svndigest.x \
46  --version-option="--no-verbose --version" \
47  $(top_builddir)/bin/svndigest$(EXEEXT)
48
49$(srcdir)/man/svncopyright.1: $(man_deps)
50  @$(MAKE) $(AM_MAKE_FLAGS) bin/svncopyright$(EXEEXT)
51  $(AM_V_at)$(HELP2MAN) --no-info -o $@ \
52  --include $(srcdir)/man/svndigest.x \
53  --version-option="--no-verbose --version" \
54  $(top_builddir)/bin/svncopyright$(EXEEXT)
55
56$(srcdir)/man/svndigest-copy-cache.1: $(man_deps)
57  @$(MAKE) $(AM_MAKE_FLAGS) bin/svndigest-copy-cache$(EXEEXT)
58  $(AM_V_at)$(HELP2MAN) --no-info -o $@ \
59  --include $(srcdir)/man/svndigest.x \
60  --version-option="--no-verbose --version" \
61  $(top_builddir)/bin/svndigest-copy-cache$(EXEEXT)
62
Note: See TracBrowser for help on using the repository browser.