From daae20d4a57408eb213e7f0095d994116872c74c Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Tue, 21 Sep 2021 17:54:55 +0900 Subject: [PATCH] Always include optional files to EXTRA_DIST --- bpf/Makefile.am | 4 ++-- third-party/Makefile.am | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/bpf/Makefile.am b/bpf/Makefile.am index 7aafb694..9017fd95 100644 --- a/bpf/Makefile.am +++ b/bpf/Makefile.am @@ -21,9 +21,9 @@ # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -if HAVE_LIBBPF +EXTRA_DIST = CMakeLists.txt reuseport_kern.c -EXTRA_DIST = reuseport_kern.c +if HAVE_LIBBPF bpf_pkglibdir = $(pkglibdir) bpf_pkglib_DATA = reuseport_kern.o diff --git a/third-party/Makefile.am b/third-party/Makefile.am index 55fdad0c..2d6726d8 100644 --- a/third-party/Makefile.am +++ b/third-party/Makefile.am @@ -23,7 +23,7 @@ AM_CPPFLAGS = @DEFS@ -EXTRA_DIST = CMakeLists.txt +EXTRA_DIST = CMakeLists.txt build_config.rb mruby/* if ENABLE_THIRD_PARTY @@ -49,8 +49,6 @@ endif # HAVE_NEVERBLEED if HAVE_MRUBY -EXTRA_DIST += build_config.rb mruby/* - .PHONY: all-local clean mruby mruby: