~teejee2008/timeshift/trunk

« back to all changes in this revision

Viewing changes to man/Makefile.am

  • Committer: Tony George
  • Date: 2013-10-05 05:34:20 UTC
  • Revision ID: teejee2008@gmail.com-20131005053420-7hbek2g1gf9hhafz
Initial release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Makefile.am for hello/man.
 
2
#
 
3
# Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010
 
4
# Free Software Foundation, Inc.
 
5
#
 
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)
 
9
# any later version.
 
10
#
 
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.
 
15
#
 
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/>.
 
18
 
 
19
man_MANS = hello.1
 
20
EXTRA_DIST = $(man_MANS)
 
21
MAINTAINERCLEANFILES = $(man_MANS)
 
22
 
 
23
# The man pages depend on the --help strings and the version number.
 
24
common_mandeps = $(top_srcdir)/configure.ac
 
25
 
 
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 $@