summaryrefslogtreecommitdiff
path: root/www/docs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/docs/Makefile')
-rw-r--r--www/docs/Makefile83
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 @@
1ACTION=@echo preprocessing $@; rm -f $@; $(HOME)/bin/fcpp -WWW -I.. -Uunix -H -C -V -P -LL >$@
2
3
4SRC := $(wildcard *.t)
5OBJS := $(SRC:%.t=%.html)
6
7FAQ2HTML = ../faq2html.pl
8TXT2HTML = ../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.
12DOCS = ../docs_
13
14all: $(OBJS)
15
16faq.raw: $(DOCS)/FAQ $(FAQ2HTML)
17 $(FAQ2HTML) < $< > $@
18
19faq.html: faq.t faq.raw $(FAQ2HTML)
20 $(ACTION) $<
21
22nodo.raw: $(DOCS)/NODO $(FAQ2HTML)
23 $(FAQ2HTML) < $< > $@
24
25nodo.html: nodo.t nodo.raw $(FAQ2HTML)
26 $(ACTION) $<
27
28battery-faq.raw: $(DOCS)/BATTERY-FAQ $(FAQ2HTML)
29 $(FAQ2HTML) < $< > $@
30
31battery-faq.html: battery-faq.t battery-faq.raw $(FAQ2HTML)
32 $(ACTION) $<
33
34battery-faq-liion.raw: $(DOCS)/BATTERY-FAQ-LIION $(FAQ2HTML)
35 $(FAQ2HTML) < $< > $@
36
37battery-faq-liion.html: battery-faq-liion.t battery-faq-liion.raw $(FAQ2HTML)
38 $(ACTION) $<
39
40contributing.raw: $(DOCS)/CONTRIBUTING $(TXT2HTML)
41 $(TXT2HTML) < $< > $@
42
43contributing.html: contributing.t contributing.raw $(TXT2HTML)
44 $(ACTION) $<
45
46custom_wps_format.raw: $(DOCS)/CUSTOM_WPS_FORMAT $(TXT2HTML)
47 $(TXT2HTML) < $< > $@
48
49custom_wps_format.html: custom_wps_format.t custom_wps_format.raw $(TXT2HTML)
50 $(ACTION) $<
51
52custom_cfg_format.raw: $(DOCS)/CUSTOM_CFG_FORMAT $(TXT2HTML)
53 $(TXT2HTML) < $< > $@
54
55custom_cfg_format.html: custom_cfg_format.t custom_cfg_format.raw $(TXT2HTML)
56 $(ACTION) $<
57
58how_to_compile.raw: $(DOCS)/README $(TXT2HTML)
59 $(TXT2HTML) < $< > $@
60
61how_to_compile.html: how_to_compile.t how_to_compile.raw $(TXT2HTML)
62 $(ACTION) $<
63
64uisimulator.raw: $(DOCS)/UISIMULATOR $(TXT2HTML)
65 $(TXT2HTML) < $< > $@
66
67uisimulator.html: uisimulator.t uisimulator.raw $(TXT2HTML)
68 $(ACTION) $<
69
70credits.raw: $(DOCS)/CREDITS $(TXT2HTML)
71 egrep -v '^( |People that have|$$)' $< | awk '{ print $$0 " <br>" }' > $@
72
73credits.html: credits.t credits.raw $(TXT2HTML)
74 $(ACTION) $<
75
76license.raw: $(DOCS)/COPYING $(TXT2HTML)
77 $(TXT2HTML) < $< > $@
78
79license.html: license.t license.raw $(TXT2HTML)
80 $(ACTION) $<
81
82%.html : %.t
83 $(ACTION) $<