summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/build-web-site17
1 files changed, 11 insertions, 6 deletions
diff --git a/bin/build-web-site b/bin/build-web-site
index 9886b7a..a980080 100755
--- a/bin/build-web-site
+++ b/bin/build-web-site
@@ -14,6 +14,7 @@
14 14
15set -e 15set -e
16set -u 16set -u
17umask 022
17 18
18prefix='/home/plugins' 19prefix='/home/plugins'
19 20
@@ -37,12 +38,16 @@ else
37 output_dir="$prefix/web/site" 38 output_dir="$prefix/web/site"
38fi 39fi
39 40
40# 41# Grab the Poole source of the site.
41# Collect the pieces of the site, and create a link to the output directory. 42tar -C "$site_source_dir" -cf - 'input' | tar -C "$site_target_dir" -xpf -
42# 43cp "$site_source_dir/macros.py" "$site_target_dir"
43rsync -aH "$site_source_dir/" "$site_target_dir" 44cp "$site_source_dir/page.html" "$site_target_dir"
44rsync -aH "$man_source_dir/" "$man_target_dir" 45
45cp -p "$guidelines_source" "$guidelines_target" 46# Grab the pre-built documentation.
47tar -C "$man_source_dir" -cf - '.' | tar -C "$man_target_dir" -xpf -
48cp "$guidelines_source" "$guidelines_target"
49
50# Create a link to the output directory.
46ln -s "$output_dir" "$site_target_dir/output" 51ln -s "$output_dir" "$site_target_dir/output"
47 52
48# 53#