File: Makefile.am

package info (click to toggle)
ps-watcher 1.08-12
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 772 kB
  • sloc: sh: 2,907; perl: 1,281; makefile: 104
file content (40 lines) | stat: -rw-r--r-- 1,586 bytes parent folder | download | duplicates (11)
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
##############################################################################
# $Id: Makefile.am,v 1.8 2005/05/17 09:53:00 rockyb Exp $
#  Copyright (C) 2003, 2004 Rocky Bernstein
#  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 of the License, 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.
#
#  You should have received a copy of the GNU General Public License
#  along with this program; if not, write to the Free Software
#  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
##############################################################################

# Section 8 is system administration
EXT=8
man8_MANS = $(PACKAGE).$(EXT)

MOSTLYCLEANFILES = *~ $(man8_MANS) $(PACKAGE).html
EXTRA_DIST = $(man8_MANS) $(PACKAGE).html
DISTCLEANFILES = pod2htmi.tmp pod2htmd.tmp

# The keeps automake from substituting PS_VARS
PS_VARS = ''

# Files making up the documentation part of this package
DOCS     = $(man_MANS) $(PACKAGE).html

# THIS SHOULD BE THE FIRST TARGET!
all: $(DOCS) Makefile

$(PACKAGE).html: ../$(PACKAGE).in
	-pod2html --infile=../$(PACKAGE).in --outfile=$@

$(man8_MANS): ../$(PACKAGE).in
	-pod2man --section=$(EXT) --name=$(PACKAGE) ../$(PACKAGE).in >$@