diff options
Diffstat (limited to 'www/docs/Makefile')
-rw-r--r-- | www/docs/Makefile | 83 |
1 files changed, 0 insertions, 83 deletions
diff --git a/www/docs/Makefile b/www/docs/Makefile deleted file mode 100644 index dd66652a8e..0000000000 --- a/www/docs/Makefile +++ /dev/null | |||
@@ -1,83 +0,0 @@ | |||
1 | ACTION=@echo preprocessing $@; rm -f $@; $(HOME)/bin/fcpp -WWW -I.. -Uunix -H -C -V -P -LL >$@ | ||
2 | |||
3 | |||
4 | SRC := $(wildcard *.t) | ||
5 | OBJS := $(SRC:%.t=%.html) | ||
6 | |||
7 | FAQ2HTML = ../faq2html.pl | ||
8 | TXT2HTML = ../txt2html.pl | ||
9 | |||
10 | # This is correct. It does point to ../../docs but we need a different | ||
11 | # name so that the directories don't collide. | ||
12 | DOCS = ../docs_ | ||
13 | |||
14 | all: $(OBJS) | ||
15 | |||
16 | faq.raw: $(DOCS)/FAQ $(FAQ2HTML) | ||
17 | $(FAQ2HTML) < $< > $@ | ||
18 | |||
19 | faq.html: faq.t faq.raw $(FAQ2HTML) | ||
20 | $(ACTION) $< | ||
21 | |||
22 | nodo.raw: $(DOCS)/NODO $(FAQ2HTML) | ||
23 | $(FAQ2HTML) < $< > $@ | ||
24 | |||
25 | nodo.html: nodo.t nodo.raw $(FAQ2HTML) | ||
26 | $(ACTION) $< | ||
27 | |||
28 | battery-faq.raw: $(DOCS)/BATTERY-FAQ $(FAQ2HTML) | ||
29 | $(FAQ2HTML) < $< > $@ | ||
30 | |||
31 | battery-faq.html: battery-faq.t battery-faq.raw $(FAQ2HTML) | ||
32 | $(ACTION) $< | ||
33 | |||
34 | battery-faq-liion.raw: $(DOCS)/BATTERY-FAQ-LIION $(FAQ2HTML) | ||
35 | $(FAQ2HTML) < $< > $@ | ||
36 | |||
37 | battery-faq-liion.html: battery-faq-liion.t battery-faq-liion.raw $(FAQ2HTML) | ||
38 | $(ACTION) $< | ||
39 | |||
40 | contributing.raw: $(DOCS)/CONTRIBUTING $(TXT2HTML) | ||
41 | $(TXT2HTML) < $< > $@ | ||
42 | |||
43 | contributing.html: contributing.t contributing.raw $(TXT2HTML) | ||
44 | $(ACTION) $< | ||
45 | |||
46 | custom_wps_format.raw: $(DOCS)/CUSTOM_WPS_FORMAT $(TXT2HTML) | ||
47 | $(TXT2HTML) < $< > $@ | ||
48 | |||
49 | custom_wps_format.html: custom_wps_format.t custom_wps_format.raw $(TXT2HTML) | ||
50 | $(ACTION) $< | ||
51 | |||
52 | custom_cfg_format.raw: $(DOCS)/CUSTOM_CFG_FORMAT $(TXT2HTML) | ||
53 | $(TXT2HTML) < $< > $@ | ||
54 | |||
55 | custom_cfg_format.html: custom_cfg_format.t custom_cfg_format.raw $(TXT2HTML) | ||
56 | $(ACTION) $< | ||
57 | |||
58 | how_to_compile.raw: $(DOCS)/README $(TXT2HTML) | ||
59 | $(TXT2HTML) < $< > $@ | ||
60 | |||
61 | how_to_compile.html: how_to_compile.t how_to_compile.raw $(TXT2HTML) | ||
62 | $(ACTION) $< | ||
63 | |||
64 | uisimulator.raw: $(DOCS)/UISIMULATOR $(TXT2HTML) | ||
65 | $(TXT2HTML) < $< > $@ | ||
66 | |||
67 | uisimulator.html: uisimulator.t uisimulator.raw $(TXT2HTML) | ||
68 | $(ACTION) $< | ||
69 | |||
70 | credits.raw: $(DOCS)/CREDITS $(TXT2HTML) | ||
71 | egrep -v '^( |People that have|$$)' $< | awk '{ print $$0 " <br>" }' > $@ | ||
72 | |||
73 | credits.html: credits.t credits.raw $(TXT2HTML) | ||
74 | $(ACTION) $< | ||
75 | |||
76 | license.raw: $(DOCS)/COPYING $(TXT2HTML) | ||
77 | $(TXT2HTML) < $< > $@ | ||
78 | |||
79 | license.html: license.t license.raw $(TXT2HTML) | ||
80 | $(ACTION) $< | ||
81 | |||
82 | %.html : %.t | ||
83 | $(ACTION) $< | ||