gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet] branch master updated: add dist_bootstrap, so far compiles texi


From: gnunet
Subject: [gnunet] branch master updated: add dist_bootstrap, so far compiles texi2mdoc and gives advice on adding a switch + $PATH.
Date: Sun, 27 Oct 2019 13:57:08 +0100

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new d22ad634e add dist_bootstrap, so far compiles texi2mdoc and gives 
advice on adding a switch + $PATH.
     new ea52e97ba Merge branch 'master' of gnunet.org:gnunet
d22ad634e is described below

commit d22ad634e069bacf7b35c907295fd224c3d6401a
Author: ng0 <address@hidden>
AuthorDate: Sun Oct 27 12:53:58 2019 +0000

    add dist_bootstrap, so far compiles texi2mdoc and gives advice on
    adding a switch + $PATH.
---
 .gitignore     |  1 +
 dist_bootstrap | 36 ++++++++++++++++++++++++++++++++++++
 2 files changed, 37 insertions(+)

diff --git a/.gitignore b/.gitignore
index 955c97d36..0f3c0acdf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -24,6 +24,7 @@ config.log
 config.status
 config.sub
 configure
+contrib/vendored/
 depcomp
 gnunet_config.h
 gnunet_config.h.in
diff --git a/dist_bootstrap b/dist_bootstrap
new file mode 100755
index 000000000..8e8d5c98c
--- /dev/null
+++ b/dist_bootstrap
@@ -0,0 +1,36 @@
+#!/bin/sh
+# This file is in the public domain.
+# SPDX-License-Identifier: 0BSD
+
+dir=$(dirname "$(readlink -f -- "$0")")
+. $dir/bootstrap
+
+if existence texi2mdoc; then
+    echo "texi2mdoc: exists, pass --enable-texi2mdoc-generation to configure"
+else
+    dir=$(dirname "$(readlink -f -- "$0")")
+    mkdir -p $dir/contrib/vendored
+    cd contrib/vendored
+    if existence ftp; then
+        ftp https://mandoc.bsd.lv/texi2mdoc/snapshots/texi2mdoc-0.1.2.tgz
+    elif existence curl; then
+        curl --output texi2mdoc-0.1.2.tgz 
https://mandoc.bsd.lv/texi2mdoc/snapshots/texi2mdoc-0.1.2.tgz
+    elif existence wget; then
+        wget https://mandoc.bsd.lv/texi2mdoc/snapshots/texi2mdoc-0.1.2.tgz
+    elif existence fetch; then
+        fetch https://mandoc.bsd.lv/texi2mdoc/snapshots/texi2mdoc-0.1.2.tgz
+    else
+        echo "skipping texi2mdoc build, no ftp or curl or wget or fetch found"
+    fi
+    if test -e texi2mdoc-0.1.2.tgz; then
+        tar xzf texi2mdoc-0.1.2.tgz
+        cd texi2mdoc-0.1.2
+        dir=$(dirname "$(readlink -f -- "$0")")
+        #make PREFIX=$dir/../../../contrib/vendored/texi2mdoc
+        #make install PREFIX=$dir/../../../contrib/vendored/texi2mdoc
+        make
+        echo "please prepend or append $dir/contrib/vendored/texi2mdoc/ to 
your PATH before running configure"
+    else
+        echo "no texi2mdoc, skipping"
+    fi
+fi

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]