File: Makefile

package info (click to toggle)
killer 0.90-14
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 764 kB
  • sloc: perl: 8,785; sh: 313; makefile: 35
file content (25 lines) | stat: -rw-r--r-- 609 bytes parent folder | download | duplicates (3)
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