kopia lustrzana https://gitlab.com/sane-project/backends
autotools: Add autogen.sh to run autotools in appropriate way
rodzic
1c3e1aa184
commit
9e6a83860b
|
@ -19,7 +19,7 @@ prepare:
|
||||||
script:
|
script:
|
||||||
- find -path ./.git -prune -o -type f | xargs tools/style-check.sh
|
- 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
|
- sed -i '/^AC_INIT/s/,.*/,m4_esyscmd_s([git describe --dirty]),/' configure.ac
|
||||||
- autoconf --force
|
- ./autogen.sh
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- configure
|
- configure
|
||||||
|
@ -28,6 +28,7 @@ prepare:
|
||||||
.compile_template: &compile_definition
|
.compile_template: &compile_definition
|
||||||
stage: compile
|
stage: compile
|
||||||
script:
|
script:
|
||||||
|
- ./autogen.sh
|
||||||
- ./configure $CONFIGURE_OPTS
|
- ./configure $CONFIGURE_OPTS
|
||||||
- make -j2 -k $MAKE_FLAGS
|
- make -j2 -k $MAKE_FLAGS
|
||||||
|
|
||||||
|
@ -94,6 +95,7 @@ archive:
|
||||||
dependencies:
|
dependencies:
|
||||||
- compile:debian-9-full
|
- compile:debian-9-full
|
||||||
before_script:
|
before_script:
|
||||||
|
- ./autogen.sh
|
||||||
- ./config.status --quiet || ./configure "$CONFIGURE_MINI"
|
- ./config.status --quiet || ./configure "$CONFIGURE_MINI"
|
||||||
script:
|
script:
|
||||||
- make dist
|
- make dist
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/bash
|
||||||
|
test -n "$srcdir" || srcdir=`dirname "$0"`
|
||||||
|
test -n "$srcdir" || srcdir=.
|
||||||
|
|
||||||
|
autoreconf --force --install --verbose --warnings=all "$srcdir"
|
Ładowanie…
Reference in New Issue