Makefile
2a9aaa80
 # Directions for building the website:
 #
14c0610b
 # 1. Clone the Tor git repository and make TORGIT point to it:
2a9aaa80
 #
e7b5039b
 # 	git clone https://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
12da0388
 # 5. Do a git commit for your changes
 
 # Then either 6a) git push to staging or master, or 6b) push your git
 # branch to your personal webwml repository, open a trac ticket in the
 # website component, and set it to needs_review.
2a9aaa80
 
b002f78a
 export STABLETAG=tor-0.3.1.7
371e7077
 export DEVTAG=tor-0.3.2.1-alpha
a12fd3f1
 
1444b4eb
 
5a23a086
 WMLBASE=.
1aa4f044
 SUBDIRS=docs eff projects press about download getinvolved donate docs/torbutton
bfe9fa6d
 include $(WMLBASE)/Makefile.local
2a9aaa80
 include $(WMLBASE)/Makefile.common
 
1aa4f044
 all: $(SUBDIRS)
2a9aaa80
 docs:
 	$(MAKE) -C "$@" WMLBASE=..
 eff:
 	$(MAKE) -C "$@" WMLBASE=..
 projects:
 	$(MAKE) -C "$@" WMLBASE=..
 press:
 	$(MAKE) -C "$@" WMLBASE=..
 about:
1aa4f044
 	$(MAKE) -C "$@" WMLBASE=..
2a9aaa80
 download:
1aa4f044
 	$(MAKE) -C "$@" WMLBASE=..
2a9aaa80
 getinvolved:
1aa4f044
 	$(MAKE) -C "$@" WMLBASE=..
2a9aaa80
 donate:
1aa4f044
 	$(MAKE) -C "$@" WMLBASE=..
 docs/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
 
1aa4f044
 .PHONY: docs eff projects press about download getinvolved donate docs/torbutton