# Directions for building the website:
# 1. check out stable-tor and cvs-tor and website onto moria.
# 2. edit the two lines below to point to them.
# 3. (edit include/versions.wmi or others if you like)
# 4. make
# 5. scp *.html.* arma@tor.eff.org:/www/tor.eff.org/docs/
TORCVSSTABLE = ../tor.0.1.0-branch
TORCVSHEAD = ../tor-head
#TORCVSSTABLE = /home/arma/work/onion/tor-010x/tor
#TORCVSHEAD = /home/arma/work/onion/cvs/tor
WMLBASE = .
WMLOPT = \
-I include \
-D DOCROOT=$(WMLBASE) \
-D IMGROOT=$(WMLBASE)/images \
-D TORCVSSTABLE=$(TORCVSSTABLE) \
-D TORCVSHEAD=$(TORCVSHEAD)
WMLFILES=$(wildcard en/*.wml \
de/*.wml \
it/*.wml \
fr/*.wml \
)
WMIFILES=$(wildcard include/*.wmi \
en/*.wmi \
de/*.wmi \
it/*.wmi \
fr/*.wmi \
)
HTMLFILES = $(patsubst de/%.wml, %.html.de, \
$(patsubst en/%.wml, %.html.en, \
$(patsubst it/%.wml, %.html.it, \
$(patsubst fr/%.wml, %.html.fr, \
$(WMLFILES) \
) \
) \
) \
)
DEPFILES = $(patsubst de/%.wml,.deps/%.html.de.d, \
$(patsubst en/%.wml,.deps/%.html.en.d, \
$(patsubst it/%.wml,.deps/%.html.it.d, \
$(patsubst fr/%.wml,.deps/%.html.fr.d,\
$(WMLFILES) \
) \
) \
) \
)
LANGS=de en it fr