source: branches/replacing_gnuplot/man/Makefile.am @ 866

Last change on this file since 866 was 857, checked in by Jari Häkkinen, 12 years ago

Merged trunk changes -r844:855 to replacing_gnuplot branch.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1## Process this file with automake to produce Makefile.in
2##
3## $Id: Makefile.am 857 2009-11-19 15:28:56Z jari $
4
5# Copyright (C) 2008, 2009 Peter Johansson
6#
7# This file is part of svndigest, http://trac.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 = $(srcdir)/svndigest.1
23
24EXTRA_DIST = svndigest.x
25
26MAINTAINERCLEANFILES = $(dist_man1_MANS)
27
28if HAVE_HELP2MAN
29# we would like to depend on svndigest binary, but since svndigest.1
30# is distributed it is recommended to depend on only distributed files
31# (see automake manual 27.5).
32$(srcdir)/svndigest.1: $(top_srcdir)/configure $(srcdir)/Makefile.in \
33  $(srcdir)/svndigest.x
34  @$(HELP2MAN) --no-info -o $@ \
35  --include $(srcdir)/svndigest.x \
36  --version-option="--no-verbose --version" \
37  $(top_builddir)/bin/svndigest$(EXEEXT)
38else
39$(srcdir)/svndigest.1:
40  echo "WARNING: bogus svndigest.1 is created" >&2; \
41  echo 'ab help2man is required to generate this page' > $@
42
43# Checking that we don't ship a bogus man page, which might be created
44# if help2man is not available. (The check can be removed in a future
45# where we require Automake 1.11)
46dist-hook:
47        echo "ERROR: svndigest.1 is bogus" >&2; \
48        echo "       you need help2man to generate a valid man page" >&2;\
49        echo "       install help2man, re-run `configure'," >&2;\
50        echo "       remove svndigest.1 and run 'make'" >&2;\
51        exit 1;
52endif
Note: See TracBrowser for help on using the repository browser.