diff --git a/ChangeLog b/ChangeLog index f123768..5283836 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,17 @@ +2015-11-05 09:58 marc + + * ChangeLog, ax_init_standard_project.m4, bootstrap.sh, + build-in-docker.sh, resolve-debbuilddeps.sh: updated build system + +2015-11-05 09:06 marc + + * doc/doxyfile.in: doxygen should not build search engine, it's + awful in embedded redmine + +2015-11-04 07:36 marc + + * debian/control.in: qt5 dependencies updated + 2015-11-03 21:54 marc * debian/control.in: updated dependencies diff --git a/ax_init_standard_project.m4 b/ax_init_standard_project.m4 index eef210e..344abdd 100644 --- a/ax_init_standard_project.m4 +++ b/ax_init_standard_project.m4 @@ -13,6 +13,7 @@ m4_define(x_least, m4_ifdef([x_least_diff], mrw_esyscmd_s([ for path in . .. ../..; do if svn info $path 2>&1 > /dev/null; then SVN_REVISION=$(LANG= svn info $path | sed -n 's/Last Changed Rev: //p') + if test -z "${SVN_REVISION}"; then SVN_REVISION=0; fi break; fi done @@ -22,6 +23,7 @@ m4_define(x_least, m4_ifdef([x_least_diff], mrw_esyscmd_s([ for path in . .. ../..; do if svn info $path 2>&1 > /dev/null; then SVN_REVISION=$(LANG= svn info $path | sed -n 's/Last Changed Rev: //p') + if test -z "${SVN_REVISION}"; then SVN_REVISION=0; fi break; fi done @@ -36,6 +38,7 @@ m4_define(x_minor_diff, mrw_esyscmd_s([ for path in . .. ../..; do if svn info $path 2>&1 > /dev/null; then SVN_REVISION=$(LANG= svn info $path | sed -n 's/Last Changed Rev: //p') + if test -z "${SVN_REVISION}"; then SVN_REVISION=0; fi break; fi; done diff --git a/bootstrap.sh b/bootstrap.sh index 9a76cde..5b777dd 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -120,7 +120,7 @@ GENERATED FILES * src/version.hxx - if you enabled AX_USE_CXX * src/version.cxx - if you enabled AX_USE_CXX * html/makefile.am - if you enabled AX_BUILD_HTML - * scripts/makefile.in - if you enabled AX_USE_SCRIPTS + * scripts/makefile.am - if you enabled AX_USE_SCRIPTS * doc/makefile.am - if you enabled AX_USE_DOXYGEN * doc/doxyfile.in - if you enabled AX_USE_DOXYGEN * test/makefile.am - if you enabled AX_BUILD_TEST or AX_USE_CPPUNIT @@ -332,7 +332,7 @@ to() { case "$1" in (--condition) shift # test for a tag, abort if not set if ! testtag "$1"; then - return + return 0 fi;; (--mode) shift # test for a tag, abort if not set mode="$1";; @@ -373,7 +373,14 @@ copy() { # file already exists and must not be rebuilt return fi - run cp "${0%/*}/$1" "$1" + local source="${0%/*}/$1" + if ! test -r "${source}"; then + source="../${source}" + if ! test -r "${source}"; then + source="${0%/*}/$1" + fi + fi + run cp "${source}" "$1" if test $exists -eq 0; then run svn add "$1" run svn propset svn:keywords "Id" "$1" @@ -402,6 +409,12 @@ doxyadd() { fi } +# Check if we are in subversion root, if so, create trunk, branches, tags: +if test "$(LANG= svn info | sed -n 's,Relative URL: *,,p')" = "^/"; then + svn mkdir trunk branches tags + cd trunk +fi + # Initialize the environment: copy ${MY_NAME} copy ax_init_standard_project.m4 @@ -427,8 +440,7 @@ ${DEFAULT_PROJECT_NAME} add description for ${DEFAULT_PROJECT_NAME} EOF -to configure.ac <