File: Makefile

package info (click to toggle)
killer 0.90-7%2Bsqueeze1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 144 kB
  • ctags: 40
  • sloc: perl: 516; sh: 292; makefile: 28
file content (25 lines) | stat: -rw-r--r-- 596 bytes parent folder | download | duplicates (6)
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

install:
	@echo "You probably want to customize the script then copy it into place yourself." 1>&2