aboutsummaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-11-16 13:49:39 +0000
committerng0 <ng0@n0.is>2019-11-16 13:49:39 +0000
commit8a0e314c66e07a5f5f8af4e5508d5a3c938b4812 (patch)
tree10a1a2c22bb11de2f8abad6a501381b03a2a3a88 /bootstrap
parentbe91802c1a57c0d37247a15153958cd9bb2155d1 (diff)
downloadgnunet-8a0e314c66e07a5f5f8af4e5508d5a3c938b4812.tar.gz
gnunet-8a0e314c66e07a5f5f8af4e5508d5a3c938b4812.zip
add -d to bootstrap, enabling what used to be in dist_boostrap.
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap31
1 files changed, 30 insertions, 1 deletions
diff --git a/bootstrap b/bootstrap
index 12c7f41f3..07043aa1c 100755
--- a/bootstrap
+++ b/bootstrap
@@ -10,7 +10,6 @@ existence()
10 command -v "$1" >/dev/null 2>&1 10 command -v "$1" >/dev/null 2>&1
11} 11}
12 12
13
14if existence uncrustify; then 13if existence uncrustify; then
15 echo "Installing uncrustify hook and configuration" 14 echo "Installing uncrustify hook and configuration"
16 # Install uncrustify format symlink (if possible) 15 # Install uncrustify format symlink (if possible)
@@ -32,6 +31,36 @@ else
32 echo "yapf not detected, please install yapf if you plan on contributing python code" 31 echo "yapf not detected, please install yapf if you plan on contributing python code"
33fi 32fi
34 33
34if test $1 = "-d"; then
35 if existence texi2mdoc; then
36 echo "texi2mdoc: exists, pass --enable-texi2mdoc-generation to configure"
37 else
38 dir=$(dirname "$(readlink -f -- "$0")")
39 mkdir -p $dir/contrib/vendored
40 cd contrib/vendored
41 if existence ftp; then
42 ftp https://mandoc.bsd.lv/texi2mdoc/snapshots/texi2mdoc-0.1.2.tgz
43 elif existence curl; then
44 curl --output texi2mdoc-0.1.2.tgz https://mandoc.bsd.lv/texi2mdoc/snapshots/texi2mdoc-0.1.2.tgz
45 elif existence wget; then
46 wget https://mandoc.bsd.lv/texi2mdoc/snapshots/texi2mdoc-0.1.2.tgz
47 elif existence fetch; then
48 fetch https://mandoc.bsd.lv/texi2mdoc/snapshots/texi2mdoc-0.1.2.tgz
49 else
50 echo "skipping texi2mdoc build, no ftp or curl or wget or fetch found"
51 fi
52 if test -e texi2mdoc-0.1.2.tgz; then
53 tar xzf texi2mdoc-0.1.2.tgz
54 cd texi2mdoc-0.1.2
55 dir=$(dirname "$(readlink -f -- "$0")")
56 make
57 echo "please prepend or append $dir/contrib/vendored/texi2mdoc/ to your PATH before running configure"
58 else
59 echo "no texi2mdoc, skipping"
60 fi
61 fi
62fi
63
35 64
36echo "checking for libtoolize / libtool... " 65echo "checking for libtoolize / libtool... "
37 66