From a2423efe556b5d936c2ff4c359d03f48fe9812e8 Mon Sep 17 00:00:00 2001 From: Michael Hanke Date: Fri, 13 May 2011 15:09:07 -0400 Subject: [PATCH] Move survey into separate dir, add makefile but don't build with the rest of the page. --- survey/Makefile | 16 ++++++++++ {sandbox => survey}/select_country.inc | 0 {sandbox => survey}/select_os_options.inc | 0 {sandbox => survey}/survey.css | 0 {sandbox => survey}/survey.rst | 37 +++++++++-------------- 5 files changed, 30 insertions(+), 23 deletions(-) create mode 100644 survey/Makefile rename {sandbox => survey}/select_country.inc (100%) rename {sandbox => survey}/select_os_options.inc (100%) rename {sandbox => survey}/survey.css (100%) rename {sandbox => survey}/survey.rst (97%) diff --git a/survey/Makefile b/survey/Makefile new file mode 100644 index 0000000..7db8774 --- /dev/null +++ b/survey/Makefile @@ -0,0 +1,16 @@ +all: index.html + +clean: + -rm *.html *.js + +jquery.form.js: + wget --no-check-certificate http://github.com/malsup/form/raw/master/jquery.form.js + +index.html: + rst2html --link-stylesheet --stylesheet-path=survey.css survey.rst > $@ + +upload: index.html jquery.form.js survey.css + rsync -rvzlhp --delete \ + --exclude=Makefile --exclude='*.inc' --exclude='*.rst' \ + --chmod=Dg+s,g+rw * neurodebian@www.pymvpa.org:/home/www/neuro.debian.net/www/survey/ + diff --git a/sandbox/select_country.inc b/survey/select_country.inc similarity index 100% rename from sandbox/select_country.inc rename to survey/select_country.inc diff --git a/sandbox/select_os_options.inc b/survey/select_os_options.inc similarity index 100% rename from sandbox/select_os_options.inc rename to survey/select_os_options.inc diff --git a/sandbox/survey.css b/survey/survey.css similarity index 100% rename from sandbox/survey.css rename to survey/survey.css diff --git a/sandbox/survey.rst b/survey/survey.rst similarity index 97% rename from sandbox/survey.rst rename to survey/survey.rst index ebeae09..3153faf 100644 --- a/sandbox/survey.rst +++ b/survey/survey.rst @@ -9,40 +9,31 @@ of them. .. raw:: html - - + +