From: Remi Gacogne Date: Thu, 20 Feb 2025 15:37:56 +0000 (+0100) Subject: dnsdist: Run `set-configure-ac-version.sh` in `meson`'s dist script X-Git-Tag: dnsdist-2.0.0-alpha1~30^2~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a3f86c0becdaa9f0a25d752bc0a18e7b374b000;p=thirdparty%2Fpdns.git dnsdist: Run `set-configure-ac-version.sh` in `meson`'s dist script --- diff --git a/builder-support/dockerfiles/Dockerfile.dnsdist b/builder-support/dockerfiles/Dockerfile.dnsdist index 1bf87e8f3f..303f08209c 100644 --- a/builder-support/dockerfiles/Dockerfile.dnsdist +++ b/builder-support/dockerfiles/Dockerfile.dnsdist @@ -19,7 +19,6 @@ RUN mkdir /sdist ARG BUILDER_VERSION RUN cd /dnsdist/pdns/dnsdistdist && \ - /dnsdist/builder/helpers/set-configure-ac-version.sh && \ meson setup build && \ meson dist -C build WORKDIR /dnsdist/pdns/dnsdistdist diff --git a/pdns/dnsdistdist/meson-dist-script.sh b/pdns/dnsdistdist/meson-dist-script.sh index e6966aba3e..4b60c9e555 100755 --- a/pdns/dnsdistdist/meson-dist-script.sh +++ b/pdns/dnsdistdist/meson-dist-script.sh @@ -18,6 +18,8 @@ cmp "$MESON_SOURCE_ROOT"/../../builder-support/gen-version "$MESON_PROJECT_DIST_ # Extract them over the existing symbolic links tar -C "$MESON_SOURCE_ROOT" -hcf - $symlinks | tar -xf - -C "$MESON_PROJECT_DIST_ROOT" +# set the proper version in configure.ac +"$MESON_SOURCE_ROOT"/../../builder/helpers/set-configure-ac-version.sh # Run autoconf for people using autotools to build, this creates a configure script with VERSION set echo Running autoreconf -vi so distfile is still usable for autotools building # Run autoconf for people using autotools to build, this creates a configure sc