aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schanzenbach <schanzen@gnunet.org>2023-10-16 12:07:20 +0200
committerMartin Schanzenbach <schanzen@gnunet.org>2023-10-16 12:07:20 +0200
commit28b33c0057d66c23d3a4f208d6d18e9812370c4c (patch)
treeccf92112e0d52040f0b48e514cc2379f5a296a38
parentf7e99c3cef0a513c943a3f024b66961a9ecff3f2 (diff)
downloadgnunet-28b33c0057d66c23d3a4f208d6d18e9812370c4c.tar.gz
gnunet-28b33c0057d66c23d3a4f208d6d18e9812370c4c.zip
build: move source submodules to src subdir
-rw-r--r--.gitmodules8
-rw-r--r--Makefile.am6
-rwxr-xr-xbootstrap4
-rw-r--r--meson-dist-script2
4 files changed, 10 insertions, 10 deletions
diff --git a/.gitmodules b/.gitmodules
index 11631f6f7..13b037329 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,6 +1,6 @@
1[submodule "contrib/gana"] 1[submodule "gana"]
2 path = contrib/gana 2 path = src/gana
3 url = git://git.gnunet.org/gana.git 3 url = git://git.gnunet.org/gana.git
4[submodule "doc/sphinx"] 4[submodule "handbook"]
5 path = contrib/sphinx 5 path = src/handbook
6 url = https://git.gnunet.org/gnunet-handbook 6 url = https://git.gnunet.org/gnunet-handbook
diff --git a/Makefile.am b/Makefile.am
index 1f32efa78..35e4ef83c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -72,10 +72,10 @@ endif
72gana: gana-gns gana-gnunet-signatures 72gana: gana-gns gana-gnunet-signatures
73 73
74gana-gns: 74gana-gns:
75 @cd $(top_srcdir)/contrib/gana/gnu-name-system-record-types; make; cp gnu_name_system_record_types.h ../../../src/include/ 75 @cd $(top_srcdir)/src/gana/gnu-name-system-record-types; make; cp gnu_name_system_record_types.h ../../../src/include/
76 @cd $(top_srcdir)/contrib/gana/gnu-name-system-default-tlds; make; cp tlds.conf ../../../src/gns 76 @cd $(top_srcdir)/src/gana/gnu-name-system-default-tlds; make; cp tlds.conf ../../../src/gns
77 77
78gana-gnunet-signatures: 78gana-gnunet-signatures:
79 @cd $(top_srcdir)/contrib/gana/gnunet-signatures; make; cp gnunet_signatures.h ../../../src/include 79 @cd $(top_srcdir)/src/gana/gnunet-signatures; make; cp gnunet_signatures.h ../../../src/include
80 80
81 81
diff --git a/bootstrap b/bootstrap
index 69f2cc863..c8ab88b33 100755
--- a/bootstrap
+++ b/bootstrap
@@ -107,7 +107,7 @@ sphinx_update()
107 echo "Updating handbook..." 107 echo "Updating handbook..."
108 if existence sphinx-build; then 108 if existence sphinx-build; then
109 cwd=$PWD 109 cwd=$PWD
110 cd contrib/sphinx || exit 1 110 cd src/handbook || exit 1
111 if test -e _build; then 111 if test -e _build; then
112 make clean 112 make clean
113 fi 113 fi
@@ -139,7 +139,7 @@ gana_update()
139 echo "Updating GANA..." 139 echo "Updating GANA..."
140 if existence recfmt; then 140 if existence recfmt; then
141 cwd=$PWD 141 cwd=$PWD
142 cd contrib/gana || exit 1 142 cd src/gana || exit 1
143 # GNS 143 # GNS
144 echo "Updating GNS record types" 144 echo "Updating GNS record types"
145 cd gnu-name-system-record-types && \ 145 cd gnu-name-system-record-types && \
diff --git a/meson-dist-script b/meson-dist-script
index dbc3e0ba8..fb328af9b 100644
--- a/meson-dist-script
+++ b/meson-dist-script
@@ -13,7 +13,7 @@ cd "${MESON_DIST_ROOT}"
13echo "Updating handbook..." 13echo "Updating handbook..."
14if existence sphinx-build; then 14if existence sphinx-build; then
15 cwd=$PWD 15 cwd=$PWD
16 cd contrib/sphinx || exit 1 16 cd src/handbook || exit 1
17 if test -e _build; then 17 if test -e _build; then
18 make clean 18 make clean
19 fi 19 fi