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