File: Makefile

package info (click to toggle)
lsb-release 1.4-6
  • links: PTS
  • area: main
  • in suites: woody
  • size: 92 kB
  • ctags: 15
  • sloc: perl: 338; sh: 293; makefile: 45
file content (24 lines) | stat: -rw-r--r-- 548 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
# 
# Makefile for lsb_release program
#
# Copyright (C) 2000 Free Software Group, Inc
# 
# Christopher Yeoh <cyeoh@linuxcare.com>
#
# This is $Revision: 1.5 $

# Config
prefix=/usr/local
mandir=${prefix}/man

all: man

man: lsb_release.1.gz

lsb_release.1.gz: lsb_release
	@./help2man -N --include ./lsb_release.examples --alt_version_key=program_version ./lsb_release >lsb_release.1
	@gzip -9f lsb_release.1

install: all
	install -D -m 644 lsb_release.1.gz ${mandir}/man1/lsb_release.1.gz
	install -D -m 755 lsb_release ${prefix}/bin/lsb_release