summaryrefslogtreecommitdiff
path: root/publish
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2014-02-15 10:30:48 +0000
committerLars Wirzenius <liw@liw.fi>2014-02-15 10:30:48 +0000
commite60a58bdac099928f3b07bb410a97a0374f99303 (patch)
tree41621086004de48af754efe4aff046bc3c6a0328 /publish
parent992da1cd75ca92eab9186c1bde583ea87006383e (diff)
downloadobnam-e60a58bdac099928f3b07bb410a97a0374f99303.tar.gz
Move publishing into a separate script
Diffstat (limited to 'publish')
-rwxr-xr-xpublish13
1 files changed, 13 insertions, 0 deletions
diff --git a/publish b/publish
new file mode 100755
index 00000000..c03c2a1c
--- /dev/null
+++ b/publish
@@ -0,0 +1,13 @@
+#!/bin/sh
+#
+# This is a script Lars Wirzenius uses to publish docs on the Internet.
+# It's not useful for anyone else, as it requires access to the right
+# host.
+#
+# It is assumed that the docs have been built already.
+
+host="pieni.net"
+path="code.liw.fi/obnam"
+
+rsync manual/manual.pdf manual/manual.html "$host:$path/manual/."
+rsync yarns/yarns.pdf yarns/yarns.html "$host:$path/"