aboutsummaryrefslogtreecommitdiffstats
path: root/man/Makefile
blob: e6f812a30958eaad1020bf64073831a9e0cffb79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# $Id$

-include ../Makefile.conf
include ../Makefile.rules

GENFILES = $(patsubst %.in, %, $(wildcard *.[58].in))

.SUFFIXES: .in

.in:
	sed -e 's|@@INIT.D@@|$(initdir)|g' < $< > $@

all: $(GENFILES)

install: all
	install -c *.5 -m 644 $(INSTALLROOT)$(mandir)/man5
	install -c *.8 -m 644 $(INSTALLROOT)$(mandir)/man8

clean:
	rm -f $(GENFILES)