File: Makefile

package info (click to toggle)
libapache-mod-perl 1.16-2
  • links: PTS
  • area: main
  • in suites: slink
  • size: 1,580 kB
  • ctags: 1,064
  • sloc: ansic: 4,489; perl: 4,415; sh: 305; makefile: 137
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