1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
SCRIPTNAME = killer
# Man page information
SECTION = 1
RELEASE = " "
CENTER = " "
TARGETS = $(SCRIPTNAME).html $(SCRIPTNAME).$(SECTION) $(SCRIPTNAME).txt
all: $(TARGETS)
$(SCRIPTNAME).html: $(SCRIPTNAME)
pod2html $(SCRIPTNAME) --outfile=$@
$(SCRIPTNAME).$(SECTION): $(SCRIPTNAME)
pod2man --section=$(SECTION) --release=$(RELEASE) --center=$(CENTER) $(SCRIPTNAME) > $@
$(SCRIPTNAME).txt: $(SCRIPTNAME)
pod2text $(SCRIPTNAME) > $(SCRIPTNAME).txt
clean:
-rm -f $(TARGETS) pod2html-*cache pod2htm*.tmp
install:
@echo "You probably want to customize the script then copy it into place yourself." 1>&2
|