File: Makefile

package info (click to toggle)
apt-rdepends 1.3.0-7
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 200 kB
  • sloc: perl: 1,205; makefile: 47
file content (49 lines) | stat: -rw-r--r-- 1,404 bytes parent folder | download | duplicates (2)
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
# apt-rdepends, version 1.3.0
#
# apt-rdepends performs recursive dependency listings similar to apt-cache.
# Copyright (C) 2002  Simon Law
#
# 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 St, Fifth Floor, Boston, MA  02110-1301 USA

VERSION=1.3.0

SHELL = /bin/sh

prefix = /usr/local
exec_prefix = ${prefix}

bindir = ${exec_prefix}/bin
mandir = ${prefix}/share/man

INSTALL = /usr/bin/install -c
INSTALL_DATA = ${INSTALL} -m 644

all : apt-rdepends.1

apt-rdepends.1 : apt-rdepends
	pod2man --section=1 --release=${VERSION} --date="20 May 2013" --center=" " $< > $@

install :
	mkdir -p ${bindir}; \
	${INSTALL} apt-rdepends ${bindir}; \

install-man : all
	mkdir -p ${mandir}/man1; \
	${INSTALL_DATA} apt-rdepends.1 ${mandir}/man1;

clean :
	rm -f apt-rdepends.1

.PHONY : all install clean