autotools: Add autogen.sh to run autotools in appropriate way

merge-requests/83/head
Povilas Kanapickas 2019-05-25 09:12:16 +03:00
rodzic 1c3e1aa184
commit 9e6a83860b
2 zmienionych plików z 8 dodań i 1 usunięć

Wyświetl plik

@ -19,7 +19,7 @@ prepare:
script:
- find -path ./.git -prune -o -type f | xargs tools/style-check.sh
- sed -i '/^AC_INIT/s/,.*/,m4_esyscmd_s([git describe --dirty]),/' configure.ac
- autoconf --force
- ./autogen.sh
artifacts:
paths:
- configure
@ -28,6 +28,7 @@ prepare:
.compile_template: &compile_definition
stage: compile
script:
- ./autogen.sh
- ./configure $CONFIGURE_OPTS
- make -j2 -k $MAKE_FLAGS
@ -94,6 +95,7 @@ archive:
dependencies:
- compile:debian-9-full
before_script:
- ./autogen.sh
- ./config.status --quiet || ./configure "$CONFIGURE_MINI"
script:
- make dist

5
autogen.sh 100755
Wyświetl plik

@ -0,0 +1,5 @@
#!/bin/bash
test -n "$srcdir" || srcdir=`dirname "$0"`
test -n "$srcdir" || srcdir=.
autoreconf --force --install --verbose --warnings=all "$srcdir"