summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@archlinux.org>2016-02-11 19:16:20 +0100
committerLukas Fleischer <lfleischer@archlinux.org>2016-02-11 19:19:29 +0100
commitbf1b269483430f1f27b239fc6ee4c3c9b0421d9d (patch)
tree1e4000f2612128d4855a63d23ee7ab94c63e69a1
parentcd1756a4ed94b34b88f4f347328432f7b3060cd8 (diff)
downloadaur-bf1b269483430f1f27b239fc6ee4c3c9b0421d9d.tar.gz
aur-bf1b269483430f1f27b239fc6ee4c3c9b0421d9d.tar.xz
Add an example post-checkout hook
Add a shell script to rebuild the documentation and install translations. Can be executed manually or used as a post-checkout hook in Git. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
-rwxr-xr-xupgrading/post-checkout4
1 files changed, 4 insertions, 0 deletions
diff --git a/upgrading/post-checkout b/upgrading/post-checkout
new file mode 100755
index 00000000..7ad41cfd
--- /dev/null
+++ b/upgrading/post-checkout
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+( cd doc/ && make )
+( cd po/ && make && make install )