Added rule to create man-page.

This commit is contained in:
hjp 2003-08-23 15:38:44 +00:00
parent ea29f84073
commit 51c015f368
1 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,6 @@
include GNUmakevars
TARGETS = cleandir
TARGETS = cleandir cleandir.1
CONFDIR=../../configure
CONFDIR_exists=$(shell [ -d $(CONFDIR) ] && echo ok)
@ -14,6 +14,9 @@ distclean: clean
install: $(BINDIR) $(BINDIR)/cleandir $(MAN1DIR)/cleandir.1
%.1: %.pl
pod2man $< > $@
%: %.pl customize
sh ./customize < $< > $@
chmod +x $@