File: Makefile

package info (click to toggle)
rcconf 3.2%2Bnmu1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, buster
  • size: 112 kB
  • sloc: perl: 968; makefile: 65; sh: 31
file content (20 lines) | stat: -rw-r--r-- 532 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
PREFIX = /usr

all: install install-man

docs:
	pod2man --section=8 --official --center="Debian GNU/Linux" rcconf > rcconf.8
	pod2man --section=8 --official --center="Debian GNU/Linux" update-rcconf-guide > update-rcconf-guide.8

clean:
	-rm -f rcconf.8
	-rm -f update-rcconf-guide.8

install-man: docs
	install -m 644 rcconf.8 $(prefix)/usr/share/man/man8/
	install -m 644 update-rcconf-guide.8 $(prefix)/usr/share/man/man8/

install:
	env
	install -m 755 rcconf $(PREFIX)/sbin/
	install -m 755 update-rcconf-guide $(PREFIX)/sbin/