|
|
@ -31,8 +31,9 @@ while test $# -gt 0; do |
|
|
|
(--configure|-c) configure=1;; |
|
|
|
(--configure|-c) configure=1;; |
|
|
|
(--docker|-d) docker=1;; |
|
|
|
(--docker|-d) docker=1;; |
|
|
|
(--build|-b) configure=1; build=1; buildtarget+=" distcheck";; |
|
|
|
(--build|-b) configure=1; build=1; buildtarget+=" distcheck";; |
|
|
|
(--target|-t) shift; configure=1; build=1; buildtarget+=" $1";; |
|
|
|
(--all|-a) shift; configure=1; build=1; buildtarget+=" all";; |
|
|
|
(--clean) shift; configure=1; build=1; buildtarget+=" maintainer-clean";; |
|
|
|
(--clean) shift; configure=1; build=1; buildtarget+=" maintainer-clean";; |
|
|
|
|
|
|
|
(--target|-t) shift; configure=1; build=1; buildtarget+=" $1";; |
|
|
|
(--overwrite|-o) overwrite=1;; |
|
|
|
(--overwrite|-o) overwrite=1;; |
|
|
|
(--rebuild|-r) rebuild=1;; |
|
|
|
(--rebuild|-r) rebuild=1;; |
|
|
|
(--rebuild-file|-f) shift; rebuildfiles+=("$1");; |
|
|
|
(--rebuild-file|-f) shift; rebuildfiles+=("$1");; |
|
|
@ -51,6 +52,8 @@ OPTIONS |
|
|
|
--configure, -c call ./configure after initialization |
|
|
|
--configure, -c call ./configure after initialization |
|
|
|
--docker, -d build and run tests in a docker instance |
|
|
|
--docker, -d build and run tests in a docker instance |
|
|
|
--build, -b build, also call ./configure && make distcheck |
|
|
|
--build, -b build, also call ./configure && make distcheck |
|
|
|
|
|
|
|
--all, -a same as -b, but make target all |
|
|
|
|
|
|
|
--clean same as -b, but make target maintainer-clean |
|
|
|
--target, -t <target> same as -b, but specify target instead of distcheck |
|
|
|
--target, -t <target> same as -b, but specify target instead of distcheck |
|
|
|
--overwrite, -o overwrite all basic files (bootstrap.sh, m4-macros) |
|
|
|
--overwrite, -o overwrite all basic files (bootstrap.sh, m4-macros) |
|
|
|
--rebuild, -r force rebuild of generated files, even if modified |
|
|
|
--rebuild, -r force rebuild of generated files, even if modified |
|
|
@ -126,6 +129,7 @@ GENERATED FILES |
|
|
|
* ax_init_standard_project.m4 - auxiliary macro definition file |
|
|
|
* ax_init_standard_project.m4 - auxiliary macro definition file |
|
|
|
* ax_cxx_compile_stdcxx_11.m4 - auxiliary macro definition file |
|
|
|
* ax_cxx_compile_stdcxx_11.m4 - auxiliary macro definition file |
|
|
|
* ax_check_qt.m4 - auxiliary macro definition file |
|
|
|
* ax_check_qt.m4 - auxiliary macro definition file |
|
|
|
|
|
|
|
* makefile_test.inc.am - makefile to be included in tests |
|
|
|
* resolve-debbuilddeps.sh - script to install debian package dependencies |
|
|
|
* resolve-debbuilddeps.sh - script to install debian package dependencies |
|
|
|
* resolve-rpmbuilddeps.sh - script to install RPM package dependencies |
|
|
|
* resolve-rpmbuilddeps.sh - script to install RPM package dependencies |
|
|
|
* build-in-docker.sh - script to build the project encapsulated in a docker container |
|
|
|
* build-in-docker.sh - script to build the project encapsulated in a docker container |
|
|
@ -497,6 +501,7 @@ copy ${MY_NAME} |
|
|
|
copy ax_init_standard_project.m4 |
|
|
|
copy ax_init_standard_project.m4 |
|
|
|
copy ax_cxx_compile_stdcxx_11.m4 |
|
|
|
copy ax_cxx_compile_stdcxx_11.m4 |
|
|
|
copy ax_check_qt.m4 |
|
|
|
copy ax_check_qt.m4 |
|
|
|
|
|
|
|
copy makefile_test.inc.am |
|
|
|
copy resolve-debbuilddeps.sh |
|
|
|
copy resolve-debbuilddeps.sh |
|
|
|
copy resolve-rpmbuilddeps.sh |
|
|
|
copy resolve-rpmbuilddeps.sh |
|
|
|
copy build-in-docker.sh |
|
|
|
copy build-in-docker.sh |
|
|
@ -1184,15 +1189,15 @@ run autoconf |
|
|
|
|
|
|
|
|
|
|
|
#### Run Configure If User Requires #### |
|
|
|
#### Run Configure If User Requires #### |
|
|
|
if test "$configure" -eq 1; then |
|
|
|
if test "$configure" -eq 1; then |
|
|
|
./configure $* |
|
|
|
./configure $* || exit 1 |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
#### Run Make If User Requires #### |
|
|
|
#### Run Make If User Requires #### |
|
|
|
if test "$build" -eq 1; then |
|
|
|
if test "$build" -eq 1; then |
|
|
|
make $buildtarget |
|
|
|
make $buildtarget || exit 1 |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
#### Build In Docker If User Requires #### |
|
|
|
#### Build In Docker If User Requires #### |
|
|
|
if test "$docker" -eq 1; then |
|
|
|
if test "$docker" -eq 1; then |
|
|
|
./build-in-docker.sh |
|
|
|
./build-in-docker.sh || exit 1 |
|
|
|
fi |
|
|
|
fi |
|
|
|