]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
rec: fix docker build; it does `make install` without first building the default...
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Wed, 13 Sep 2023 06:54:18 +0000 (08:54 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Wed, 13 Sep 2023 06:54:18 +0000 (08:54 +0200)
pdns/recursordist/settings/Makefile.am
pdns/recursordist/settings/rust/Makefile.am

index 32b322d405a148f21f1271232782c925ce01a264..6e5952c9581ae9cc98417721c7fc5b8c6554efc8 100644 (file)
@@ -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
index 814c21322025af41057064194820f33d2c16e2f7..ac1a27e330ff5fc9b4de53076dc912fa645d508e 100644 (file)
@@ -1,6 +1,6 @@
 CARGO ?= cargo
 
-all: libsettings.a
+all install: libsettings.a
 
 EXTRA_DIST = \
        Cargo.toml \