aboutsummaryrefslogtreecommitdiffstats
path: root/man/Makefile
blob: bab0aef2e73ba7d6a8f38322f949a675f5d8117b (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)