Makefile
2a9aaa80
 # Directions for building the website:
 #
14c0610b
 # 1. Clone the Tor git repository and make TORGIT point to it:
2a9aaa80
 #
1265ca47
 # 	git clone git://git.torproject.org/tor/ tor.git
2a9aaa80
 #
14c0610b
 #    Note that you will need to point to the actual .git directory.
 # 2. Edit include/versions.wmi or others if you like
 # 3. Update STABLETAG and DEVTAG below if there is a new git tag
 # 4. make
 # 5. ./publish
2a9aaa80
 
1265ca47
 export TORGIT=set this to your tor.git path
 export STABLETAG=tor-0.2.2.35
 export DEVTAG=tor-0.2.3.10-alpha
2a9aaa80
 
5a23a086
 WMLBASE=.
e10a28f0
 SUBDIRS=docs eff projects press about download getinvolved donate torbutton
2a9aaa80
 
 include $(WMLBASE)/Makefile.common
 all: $(SUBDIRS)
 
 docs:
 	$(MAKE) -C "$@" WMLBASE=..
 eff:
 	$(MAKE) -C "$@" WMLBASE=..
 projects:
 	$(MAKE) -C "$@" WMLBASE=..
 press:
 	$(MAKE) -C "$@" WMLBASE=..
 about:
 	$(MAKE) -C "$@" WMLBASE=.. 
 download:
 	$(MAKE) -C "$@" WMLBASE=.. 
 getinvolved:
 	$(MAKE) -C "$@" WMLBASE=.. 
 donate:
 	$(MAKE) -C "$@" WMLBASE=..  
b8976b45
 torbutton:
 	$(MAKE) -C "$@" WMLBASE=..  
2a9aaa80
 mirrors:
 	./update-mirrors.pl
 translations:
 	./po2wml.sh
 qrcode:
59a8f6e6
 	qrencode -o $(IMGROOT)/android/orbot-qr-code-latest.png \
83df4eb9
     "https://www.torproject.org/dist/android/alpha-orbot-latest.apk"
2a9aaa80
 
 # XXX: this also depends on all subs' wmlfiles.  How to fix?
4e80ee2b
 #translation-status.html.en: $(LANGS) $(WMIFILES) $(WMLFILES)
2a9aaa80
 
b8976b45
 .PHONY: docs eff projects press about download getinvolved donate torbutton