1 |
POD2HTML = pod2html --css "http://suika.fam.cx/www/style/html/pod.css" \ |
2 |
--htmlroot "../.." |
3 |
POD2HTML2 = pod2html --css "http://suika.fam.cx/www/style/html/pod.css" \ |
4 |
--htmlroot "../../.." |
5 |
|
6 |
MANAKAI_ROOT_DIR = ../../../ |
7 |
MANAKAI_LIB_DIR = $(MANAKAI_ROOT_DIR)lib/ |
8 |
|
9 |
CD = cd |
10 |
MAKE = make |
11 |
RM = rm |
12 |
RMALL = $(RM) -fv |
13 |
PERL = perl |
14 |
PERL_OPTIONS = |
15 |
PERL_OPTIONS_ALL = $(PERL_OPTIONS) -I$(MANAKAI_LIB_DIR) |
16 |
PERL_ = $(PERL) $(PERL_OPTIONS_ALL) |
17 |
PERLC = $(PERL) -c -w |
18 |
PERLC_OPTIONS = |
19 |
PERLC_OPTIONS_ALL = $(PERLC_OPTIONS) -I$(MANAKAI_LIB_DIR) |
20 |
PERL_CHK = $(PERLC) $(PERLC_OPTIONS_ALL) |
21 |
TOUCH = touch |
22 |
|
23 |
HTML_FILES = Error.html \ |
24 |
Formatter/Base.html Formatter/Boolean.html Formatter/Text.html \ |
25 |
HostPermit.html QName/Filter.html |
26 |
|
27 |
GENERATED_FILES = $(HTML_FILES) |
28 |
|
29 |
all: $(GENERATED_FILES) |
30 |
|
31 |
Error.html:: %.html: %.pod |
32 |
$(POD2HTML) $< > $@ |
33 |
|
34 |
%.html: %.pm |
35 |
$(POD2HTML) $< > $@ |
36 |
|
37 |
Formatter/%.html: %.pm |
38 |
$(POD2HTML2) $< > $@ |
39 |
|
40 |
clean: |
41 |
$(RMALL) $(GENERATED_FILES) |
42 |
$(RMALL) *.tmp .*.tmp *~ .*~ |
43 |
$(RMALL) Error/*~ Error/.*~ |
44 |
$(RMALL) Formatter/*~ Formatter/.*~ |
45 |
|
46 |
distclean: clean |
47 |
|
48 |
## $Date: 2007/08/11 13:37:09 $ |
49 |
## License: Public Domain. |