1
# Makefile.am for hello/man.
3
# Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010
4
# Free Software Foundation, Inc.
6
# This program is free software; you can redistribute it and/or modify
7
# it under the terms of the GNU General Public License as published by
8
# the Free Software Foundation; either version 3, or (at your option)
11
# This program is distributed in the hope that it will be useful,
12
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
# GNU General Public License for more details.
16
# You should have received a copy of the GNU General Public License
17
# along with this program. If not, see <http://www.gnu.org/licenses/>.
20
EXTRA_DIST = $(man_MANS)
21
MAINTAINERCLEANFILES = $(man_MANS)
23
# The man pages depend on the --help strings and the version number.
24
common_mandeps = $(top_srcdir)/configure.ac
26
# Depend on the source, not the binary; we don't need to regenerate the
27
# binary when any source file changes, only the main one.
28
# Use -o so that the `missing' program can infer the output file.
29
hello.1: $(top_srcdir)/src/hello.c $(common_mandeps)
30
$(HELP2MAN) --name="friendly greeting program" ../src/hello -o $@