File: Makefile

package info (click to toggle)
statnews 1.6
  • links: PTS
  • area: main
  • in suites: potato
  • size: 120 kB
  • ctags: 19
  • sloc: perl: 206; makefile: 17
file content (49 lines) | stat: -rw-r--r-- 1,570 bytes parent folder | download
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
41
42
43
44
45
46
47
48
49
# Makefile for StatNews package.
#
# $Id: Makefile,v 1.2 1999/10/05 23:03:46 salve Exp $
#
# Copyright  Davide G. M. Salvetti <salve@debian.org>, 1998.
#
# 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.,
# 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
#
# On Debian GNU/Linux System you can find a copy of the GNU General Public
# License in /usr/doc/copyright/GPL.

prefix = /usr/local/
exec_prefix = $(prefix)

bindir = $(exec_prefix)/bin
mandir = $(prefix)/man

all: man

man: statnews.pl
	pod2man --section 1 --center "Debian GNU/Linux Manual" \
		--release "Debian Project" statnews.pl > statnews.1

install: all
	test -d $(bindir) \
		|| install -o root -g root -m 755 -d $(bindir)
	test -d $(mandir)/man1 \
		|| install -o root -g root -m 755 -d $(mandir)/man1
	install -o root -g root -m 755 statnews.pl $(bindir)/statnews
	install -o root -g root -m 644 statnews.1 $(mandir)/man1/

clean:
	rm -f statnews.1

### Local Variables:
### mode: makefile
### End: