aboutsummaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorMartin Schanzenbach <schanzen@gnunet.org>2021-12-20 10:59:42 +0100
committerMartin Schanzenbach <schanzen@gnunet.org>2021-12-20 10:59:42 +0100
commited65e2cac3e720c226f8dec07ac37ab62578724e (patch)
tree67ff1ec66a29423cb173d6a07defcb4ad8e4baa6 /bootstrap
parent511058f7e97d46eebe74a8c14aaff81865faa860 (diff)
downloadgnunet-ed65e2cac3e720c226f8dec07ac37ab62578724e.tar.gz
gnunet-ed65e2cac3e720c226f8dec07ac37ab62578724e.zip
BUILD: Kill build-common
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap12
1 files changed, 3 insertions, 9 deletions
diff --git a/bootstrap b/bootstrap
index 984c56cb3..c6253048c 100755
--- a/bootstrap
+++ b/bootstrap
@@ -40,8 +40,8 @@ check_uncrustify()
40{ 40{
41 if existence uncrustify; then 41 if existence uncrustify; then
42 echo "Installing uncrustify hook and configuration" 42 echo "Installing uncrustify hook and configuration"
43 ln -fs contrib/build-common/conf/uncrustify.cfg uncrustify.cfg 2> /dev/null 43 ln -fs contrib/conf/uncrustify.cfg uncrustify.cfg 2> /dev/null
44 ln -fs contrib/build-common/conf/uncrustify_precommit .git/hooks/pre-commit 2> /dev/null 44 ln -fs contrib/conf/uncrustify_precommit .git/hooks/pre-commit 2> /dev/null
45 else 45 else
46 echo "Uncrustify not detected, hook not installed." 46 echo "Uncrustify not detected, hook not installed."
47 echo "Please install uncrustify if you plan on doing development" 47 echo "Please install uncrustify if you plan on doing development"
@@ -65,7 +65,7 @@ check_yapf()
65 existence yapf3.9 || \ 65 existence yapf3.9 || \
66 existence yapf4.0; then 66 existence yapf4.0; then
67 echo "Installing yapf symlink" 67 echo "Installing yapf symlink"
68 ln -fs contrib/build-common/conf/.style.yapf .style.yapf 2> /dev/null 68 ln -fs contrib/conf/.style.yapf .style.yapf 2> /dev/null
69 else 69 else
70 echo "yapf not detected, please install yapf if you plan on contributing python code" 70 echo "yapf not detected, please install yapf if you plan on contributing python code"
71 fi 71 fi
@@ -103,16 +103,10 @@ submodules()
103 fi 103 fi
104} 104}
105 105
106init_buildcommon_include()
107{
108 cp contrib/build-common/Makefile.inc contrib/Makefile.inc || exit 1
109}
110
111main() 106main()
112{ 107{
113 cleanup 108 cleanup
114 submodules 109 submodules
115 init_buildcommon_include
116 check_uncrustify 110 check_uncrustify
117 check_yapf 111 check_yapf
118 check_libtool 112 check_libtool