From 51c015f36824aa6cbf8fd01069a2ad51d627c21c Mon Sep 17 00:00:00 2001 From: hjp Date: Sat, 23 Aug 2003 15:38:44 +0000 Subject: [PATCH] Added rule to create man-page. --- cleandir/GNUmakefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cleandir/GNUmakefile b/cleandir/GNUmakefile index 378f245..924f293 100644 --- a/cleandir/GNUmakefile +++ b/cleandir/GNUmakefile @@ -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 $@