From: Otto Moerbeek Date: Wed, 13 Sep 2023 06:54:18 +0000 (+0200) Subject: rec: fix docker build; it does `make install` without first building the default... X-Git-Tag: rec-5.0.0-alpha1^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48403e5dea7b9d55d25950b2a22f52369c601fe2;p=thirdparty%2Fpdns.git rec: fix docker build; it does `make install` without first building the default target --- diff --git a/pdns/recursordist/settings/Makefile.am b/pdns/recursordist/settings/Makefile.am index 32b322d405..6e5952c958 100644 --- a/pdns/recursordist/settings/Makefile.am +++ b/pdns/recursordist/settings/Makefile.am @@ -10,6 +10,8 @@ EXTRA_DIST = \ all: cxxsettings-generated.cc +BUILT_SOURCES=cxxsettings-generated.cc + # It's a bit dirty that this target also generated a file inside rust/src (lib.rs) cxxsettings-generated.cc: table.py generate.py rust-preamble-in.rs rust-bridge-in.rs docs-old-preamble-in.rst docs-new-preamble-in.rst $(PYTHON) generate.py diff --git a/pdns/recursordist/settings/rust/Makefile.am b/pdns/recursordist/settings/rust/Makefile.am index 814c213220..ac1a27e330 100644 --- a/pdns/recursordist/settings/rust/Makefile.am +++ b/pdns/recursordist/settings/rust/Makefile.am @@ -1,6 +1,6 @@ CARGO ?= cargo -all: libsettings.a +all install: libsettings.a EXTRA_DIST = \ Cargo.toml \