File: Makefile

package info (click to toggle)
sysv-rc-conf 0.99-7.1
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 148 kB
  • sloc: perl: 741; makefile: 18; sh: 4
file content (19 lines) | stat: -rw-r--r-- 416 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
PREFIX = $(DESTDIR)/usr/sbin
MANDIR = $(DESTDIR)/usr/share/man/man8

all: man

man : 
	pod2man -s 8 -c ' ' ./sysv-rc-conf.pl | gzip -9 -c > sysv-rc-conf.8.gz

install : man
	mkdir -p $(PREFIX) $(MANDIR)
	install -m755 ./sysv-rc-conf.pl $(PREFIX)/sysv-rc-conf
	install -m644 ./sysv-rc-conf.8.gz $(MANDIR)

uninstall :
	rm -f $(PREFIX)/sysv-rc-conf
	rm -f $(MANDIR)/sysv-rc-conf.8.gz

clean :
	rm -f sysv-rc-conf.8.gz