From: Philip Withnall Date: Wed, 12 Jul 2017 12:58:16 +0000 (+0100) Subject: build: Ensure all .sym files are distributed in tarballs X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~4^2~34^2~24 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f6ba20d9d6ce00b1fcaf0a877969554b922f4cd0;p=ostree.git build: Ensure all .sym files are distributed in tarballs Since we’re using a custom variable for listing the .sym files, automake’s magic support for automatically distributing all files in conditionals doesn’t work, and the devel and experimental .sym files were only being distributed if `make dist` was run on a source tree which had been configured with --enable-experimental-api or not a release flag. Fix that by explicitly listing all the .sym files in EXTRA_DIST. Specifically, this fixes the case of trying to compile with --enable-experimental-api from a release tarball which was disted with --disable-experimental-api. Signed-off-by: Philip Withnall Closes: #1001 Approved by: cgwalters --- diff --git a/Makefile-libostree.am b/Makefile-libostree.am index b589f1b2..fab7bd3f 100644 --- a/Makefile-libostree.am +++ b/Makefile-libostree.am @@ -187,7 +187,11 @@ symbol_files += $(top_srcdir)/src/libostree/libostree-experimental.sym endif # http://blog.jgc.org/2007/06/escaping-comma-and-space-in-gnu-make.html wl_versionscript_arg = -Wl,--version-script= -EXTRA_DIST += $(symbol_files) +EXTRA_DIST += \ + $(top_srcdir)/src/libostree/libostree-devel.sym \ + $(top_srcdir)/src/libostree/libostree-experimental.sym \ + $(top_srcdir)/src/libostree/libostree-released.sym \ + $(NULL) libostree_1_la_CFLAGS = $(AM_CFLAGS) -I$(srcdir)/bsdiff -I$(srcdir)/libglnx -I$(srcdir)/src/libotutil -I$(srcdir)/src/libostree -I$(builddir)/src/libostree \ $(OT_INTERNAL_GIO_UNIX_CFLAGS) $(OT_INTERNAL_GPGME_CFLAGS) $(OT_DEP_LZMA_CFLAGS) $(OT_DEP_ZLIB_CFLAGS) $(OT_DEP_OPENSSL_CFLAGS) \