1 #WWW_UPLOAD_URI = neuro.debian.net:/home/www/neuro.debian.net/www
2 WWW_UPLOAD_URI = ../www
5 all: updatedb upload-website
13 rsync -rvlhp sphinx/ build/src
14 cd artwork; cp button_w200.png logo_tuned/fmri_w200.png ../build/src/_static; cd ..
15 cd build/src && $(MAKE) html BUILDDIR=$(CURDIR)/build 2>&1
16 mv $(WWW_DIR)/_static/robots.txt $(WWW_DIR)/
20 -rm html-stamp source-stamp
21 $(MAKE) -C artwork clean
29 source-stamp: build/db.db
30 PYTHONPATH=. python neurodebian/dde.py \
31 --cfg neurodebian.cfg \
35 --extracts /home/www/neuro.debian.net/www/debian/extracts \
48 updatedb: removedb removecache build/db.db
53 PYTHONPATH=. python neurodebian/dde.py \
54 --cfg neurodebian.cfg \
61 rsync -rvzlhp --delete \
62 --exclude=debian --exclude=debian-local --exclude=_files \
63 --chmod=Dg+s,g+rw $(WWW_DIR) $(WWW_UPLOAD_URI)
65 .PHONY: removedb removecache updatedb upload-website clean distclean pics html