summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Mazieres <dm@uun.org>2015-06-10 21:40:39 -0700
committerDavid Mazieres <dm@uun.org>2015-06-10 21:40:39 -0700
commit759fd02266d478d2411787f5f96dd3bc2c62384c (patch)
treedc3d312d4567f0caf8852671676c2d25454915d9
parent353cd441f99ebf118ebc61cfee602770164a4e6c (diff)
modify autogen to fetch man page from web if no pandoc executable
-rwxr-xr-xautogen.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index dd07f77..2d0bb40 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,2 +1,5 @@
#!/bin/sh
+if test ! -f muchsync.1 -a -z "$(command -v pandoc)"; then
+ curl -o muchsync.1 http://www.muchsync.org/muchsync.1
+fi
exec autoreconf -i