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