Added rule to create man-page.
This commit is contained in:
parent
ea29f84073
commit
51c015f368
|
@ -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 $@
|
||||
|
|
Loading…
Reference in New Issue