]> git.donarmstrong.com Git - neurodebian.git/blob - Makefile
Refactored into sphinx, addenum and reblender (separate).
[neurodebian.git] / Makefile
1
2 WWW_UPLOAD_URI = elrond:/home/hanke/public_html/archive
3 WWW_DIR = build/_build/html
4
5
6 prep:
7         mkdir -p build/src
8         cp -r sphinx/* build/src
9
10
11 html: prep update-db
12         cd build/src && $(MAKE) html BUILDDIR=$(CURDIR)/build
13
14
15 clean:
16         -rm -rf build
17
18
19 update-db:
20 #               -r http://apsy.gse.uni-magdeburg.de/debian/dists/lenny/Release \
21                 -r http://apsy.gse.uni-magdeburg.de/debian/dists/squeeze/Release \
22 #       rm -f build/db.db
23         ./reblender \
24                 --db build/db.db \
25                 --outdir build/src \
26                 --pkgaddenum pkgs \
27                 -r http://apsy.gse.uni-magdeburg.de/debian/dists/dapper/Release \
28                 -r http://apsy.gse.uni-magdeburg.de/debian/dists/gutsy/Release \
29                 -r http://apsy.gse.uni-magdeburg.de/debian/dists/hardy/Release \
30                 -r http://apsy.gse.uni-magdeburg.de/debian/dists/intrepid/Release \
31                 -r http://apsy.gse.uni-magdeburg.de/debian/dists/etch/Release \
32                 -r http://apsy.gse.uni-magdeburg.de/debian/dists/sid/Release \
33                 -t svn://svn.debian.org/blends/projects/med/trunk/debian-med/tasks/imaging \
34                 -t svn://svn.debian.org/blends/projects/med/trunk/debian-med/tasks/imaging-dev \
35                 -t svn://svn.debian.org/blends/projects/science/trunk/debian-science/tasks/neuroscience-cognitive \
36                 -f fsl-doc -f fslview-doc -f fsl-atlases -f fsl-possum-data \
37                 -f fsl-first-data -f fsl-feeds \
38                 -p svn://svn.debian.org/blends/projects/science/trunk/debian-science/tasks/neuroscience-cognitive
39
40
41 upload-website: html
42         rsync -rvzlhp --delete --chmod=Dg+s,g+rw $(WWW_DIR) $(WWW_UPLOAD_URI)