Mfr commited on 2008-07-21 18:23:11
Zeige 1 geänderte Dateien mit 12 Einfügungen und 1 Löschungen.
... | ... |
@@ -6,7 +6,8 @@ WMLOPT = \ |
6 | 6 |
-D TORSVNHEAD=$(TORSVNHEAD) |
7 | 7 |
|
8 | 8 |
|
9 |
-LANGS=de en es it fa fi fr ja ko nl no pl pt ru se tr zh-cn |
|
9 |
+LANGS=de en es it fi fr ja ko nl no pl pt ru se tr zh-cn fa |
|
10 |
+ |
|
10 | 11 |
WMLFILES=$(wildcard $(patsubst %, %/*.wml, $(LANGS))) |
11 | 12 |
WMIFILES=$(wildcard $(patsubst %, %/*.wmi, $(LANGS)) $(WMLBASE)/include/*.wmi ) |
12 | 13 |
|
... | ... |
@@ -31,6 +32,9 @@ all: $(HTMLFILES) |
31 | 32 |
%.html.it: it/%.wml en/%.wml |
32 | 33 |
lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@ |
33 | 34 |
|
35 |
+%.html.fa: fa/%.wml en/%.wml |
|
36 |
+ lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@ |
|
37 |
+ |
|
34 | 38 |
%.html.fi: fi/%.wml en/%.wml |
35 | 39 |
lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@ |
36 | 40 |
|
... | ... |
@@ -102,6 +106,13 @@ all: $(HTMLFILES) |
102 | 106 |
wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \ |
103 | 107 |
sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \ |
104 | 108 |
rm -f $$tmpfile |
109 |
+ .deps/%.html.fa.d: fa/%.wml .deps/.stamp |
|
110 |
+ tmpfile=`tempfile` \ |
|
111 |
+ lang=`dirname $<` && \ |
|
112 |
+ OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \ |
|
113 |
+ wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \ |
|
114 |
+ sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \ |
|
115 |
+ rm -f $$tmpfile |
|
105 | 116 |
.deps/%.html.fi.d: fi/%.wml .deps/.stamp |
106 | 117 |
tmpfile=`tempfile` \ |
107 | 118 |
lang=`dirname $<` && \ |
108 | 119 |