# $Id: Makefile,v 1.1.1.1 2003/11/02 07:45:47 okamoto Exp $

-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 -m 644 *.5 $(INSTALLROOT)$(mandir)/man5
	install -c -m 644 *.8 $(INSTALLROOT)$(mandir)/man8

clean:
	rm -f $(GENFILES)
