From bbd6bca1d75b0480d70325d6b9067a41d43cf7ca Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Wed, 19 Feb 2020 12:31:08 +0100 Subject: [PATCH] rec, dnsdist: always clean lua.hpp --- pdns/dnsdistdist/Makefile.am | 3 ++- pdns/recursordist/Makefile.am | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/pdns/dnsdistdist/Makefile.am b/pdns/dnsdistdist/Makefile.am index 2e0d9f9afe..54bbd0ae3f 100644 --- a/pdns/dnsdistdist/Makefile.am +++ b/pdns/dnsdistdist/Makefile.am @@ -331,9 +331,10 @@ endif if !HAVE_LUA_HPP BUILT_SOURCES += lua.hpp nodist_dnsdist_SOURCES = lua.hpp -CLEANFILES += lua.hpp endif +CLEANFILES += lua.hpp + if HAVE_PROTOBUF if HAVE_PROTOC dnsmessage.pb.cc: dnsmessage.proto diff --git a/pdns/recursordist/Makefile.am b/pdns/recursordist/Makefile.am index 565bd70d3b..20105c0e25 100644 --- a/pdns/recursordist/Makefile.am +++ b/pdns/recursordist/Makefile.am @@ -190,9 +190,10 @@ pdns_recursor_SOURCES = \ if !HAVE_LUA_HPP BUILT_SOURCES += lua.hpp nodist_pdns_recursor_SOURCES = lua.hpp -CLEANFILES += lua.hpp endif +CLEANFILES += lua.hpp + pdns_recursor_LDADD = \ $(YAHTTP_LIBS) \ $(JSON11_LIBS) \ -- 2.47.2