Commit c352d283 authored by Vivien Kraus's avatar Vivien Kraus
Browse files

Use a submodule for gnulib

parent 688a79b4
Pipeline #171412 failed with stages
in 23 minutes and 26 seconds
[submodule ".gnulib"]
path = .gnulib
url = git://git.sv.gnu.org/gnulib.git
.gnulib @ de255f87
Subproject commit de255f87357354e0f2422d9321fe9701b776ead5
......@@ -19,6 +19,11 @@
&& echo '\bye') > doc/tarot.texi || exit 1
touch AUTHORS || exit 1
touch README || exit 1
export PATH="$PWD/.gnulib:$PATH"
if [ -d .gnulib ]
then
git submodule update --init .gnulib || exit 1
fi
gnulib-tool --libtool \
--import assert git-version-gen getopt-gnu setenv stdalign xalloc setlocale \
gitlog-to-changelog git-version-gen || exit 1
......
......@@ -46,7 +46,7 @@ case "$1" in
| ./src/libtarot/gobject/Tarot.metadata | ./src/libtarot/features/features-header.txt.in \
| ./src/libtarot/features/features-header-encoded.txt.in | ./NEWS | ./.gitignore | ./.git/* \
| ./po/LINGUAS | ./po/*.po | ./po/*.pot | ./src/libtarot/xml/check_xml_*.xml \
| ./debian/source/format | ./debian/compat)
| ./debian/source/format | ./debian/compat | ./.gitmodules)
exit 0
;;
*.am | *.desktop.in | *.org | ./debian/source/format | ./debian/compat | ./configure.ac \
......
......@@ -34,7 +34,7 @@ git-check:
do \
./copyright/check-copyright "$$source" || exit 1; \
done)
$(git_clone_verbose) $(GIT) clone $(srcdir) .gitcheck/source/
$(git_clone_verbose) $(GIT) clone --recurse-submodules $(srcdir) .gitcheck/source/
$(MKDIR_P) .gitcheck/build
(cd .gitcheck/source && $(CI_ENV) ./autogen.sh)
(cd .gitcheck/build && $(CI_ENV) ../source/configure VALAFLAGS="--target-glib=2.50" CFLAGS="-Wall -Wextra -g" --enable-valgrind=yes --enable-silent-rules=yes)
......@@ -83,7 +83,7 @@ git-check:
do \
case $$source in \
*.po | *.pot);; \
*/.git/*);; \
*/.git/* | */.gitmodules);; \
*) \
if $(DIFF) $$source ../../$(top_distdir)/$$source ; \
then \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment