File: Makefile

package info (click to toggle)
libapache-mod-perl 1.21.20000309-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 2,632 kB
  • ctags: 1,295
  • sloc: perl: 7,049; ansic: 5,214; sh: 356; makefile: 171
file content (22 lines) | stat: -rw-r--r-- 522 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
HTMLROOT = .
POD2HTML = pod2html --htmlroot=$(HTMLROOT) --podpath=. \
		--libpods=mod_perl_cgi:mod_perl_api

POD = mod_perl_faq.pod mod_perl_cgi.pod mod_perl_api.pod
HTML = mod_perl_faq.html mod_perl_cgi.html mod_perl_api.html

.SUFFIXES: .pod .html

.pod.html:
	rm -f $*.html
	$(POD2HTML) --infile=$*.pod --outfile=$*.tmp
	sed 's/ manpage<\/A>/ FAQ<\/A>/' $*.tmp >$*.html
	rm $*.tmp

html:	$(HTML)

tar:	$(POD)
	tar cf - $(POD) mjtg-news.txt Makefile | gzip -9 >mod_perl_faq.tar.gz

clean:
	rm -f $(HTML) pod2html-*cache