aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schanzenbach <schanzen@gnunet.org>2022-01-04 16:26:41 +0100
committerMartin Schanzenbach <schanzen@gnunet.org>2022-01-04 16:26:41 +0100
commitbb6042d2e04c127d175ceabb4070fa8df4519c8b (patch)
treef361878721770559c34af5c3da950e2fa266c8ab
parent73f3f349883bdfd81a823136cfe2f25bd8ce72b2 (diff)
downloadgnunet-bb6042d2e04c127d175ceabb4070fa8df4519c8b.tar.gz
gnunet-bb6042d2e04c127d175ceabb4070fa8df4519c8b.zip
-add gana to bootstrap; update
-rwxr-xr-xbootstrap29
m---------contrib/gana0
2 files changed, 28 insertions, 1 deletions
diff --git a/bootstrap b/bootstrap
index c6253048c..36e411f1d 100755
--- a/bootstrap
+++ b/bootstrap
@@ -98,15 +98,42 @@ submodules()
98 echo "git not installed, skipping submodule update" 98 echo "git not installed, skipping submodule update"
99 else 99 else
100 git submodule update --init || exit 1 100 git submodule update --init || exit 1
101 git submodule update --recursive || exit 1 101 git submodule update --remote --recursive || exit 1
102 git submodule sync || exit 1 102 git submodule sync || exit 1
103 fi 103 fi
104} 104}
105 105
106gana_update()
107{
108 if existence recfmt; then
109 cwd=$PWD
110 cd contrib/gana || exit 1
111 # GNS
112 cd gnu-name-system-record-types && \
113 make && \
114 cp gnu_name_system_record_types.h ../../../src/include/ && \
115 make clean
116 cd ../gnu-name-system-default-tlds && \
117 make && \
118 cp tlds.conf ../../../src/gns && \
119 make clean
120
121 # Signatures
122 cd ../gnunet-signatures && \
123 make && \
124 cp gnunet_signatures.h ../../../src/include && \
125 make clean
126 cd $cwd
127 else
128 echo "WARNING: No recutils found! Unable to generate recent GANA headers and configs."
129 fi
130}
131
106main() 132main()
107{ 133{
108 cleanup 134 cleanup
109 submodules 135 submodules
136 gana_update
110 check_uncrustify 137 check_uncrustify
111 check_yapf 138 check_yapf
112 check_libtool 139 check_libtool
diff --git a/contrib/gana b/contrib/gana
Subproject f81e247d78c452bd99beda5cf2cb9c41cba11d3 Subproject 9b8a787580307cea5a38359c485d521cd8ece82