Added rule to create man-page.
This commit is contained in:
parent
ea29f84073
commit
51c015f368
|
@ -1,6 +1,6 @@
|
||||||
include GNUmakevars
|
include GNUmakevars
|
||||||
|
|
||||||
TARGETS = cleandir
|
TARGETS = cleandir cleandir.1
|
||||||
CONFDIR=../../configure
|
CONFDIR=../../configure
|
||||||
CONFDIR_exists=$(shell [ -d $(CONFDIR) ] && echo ok)
|
CONFDIR_exists=$(shell [ -d $(CONFDIR) ] && echo ok)
|
||||||
|
|
||||||
|
@ -14,6 +14,9 @@ distclean: clean
|
||||||
|
|
||||||
install: $(BINDIR) $(BINDIR)/cleandir $(MAN1DIR)/cleandir.1
|
install: $(BINDIR) $(BINDIR)/cleandir $(MAN1DIR)/cleandir.1
|
||||||
|
|
||||||
|
%.1: %.pl
|
||||||
|
pod2man $< > $@
|
||||||
|
|
||||||
%: %.pl customize
|
%: %.pl customize
|
||||||
sh ./customize < $< > $@
|
sh ./customize < $< > $@
|
||||||
chmod +x $@
|
chmod +x $@
|
||||||
|
|
Loading…
Reference in New Issue