summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2016-06-12 09:56:05 +0100
committerSimon McVittie <smcv@debian.org>2016-06-12 10:35:13 +0100
commitee77be10b557458cebf2ce908126ddada58e4cd9 (patch)
tree3ad7444d8d8edd2fb2867d00dfcc114c4af77e26 /Makefile.am
parentf8f4f530abe123f807d4a89d052468ff294de674 (diff)
downloadflatpak-ee77be10b557458cebf2ce908126ddada58e4cd9.tar.gz
tests: clean up what is distributed
Listing variables whose values are conditional in EXTRA_DIST is problematic: if Flatpak was configured without installed-tests, we would not distribute those files. This is a problem during distcheck, where installed-tests are disabled. For files not placed in a special subdirectory, glib-tap.mk handles this for us. For the keyring and the databases, we have to do it ourselves, by arranging for them to be in a dist_ variable that is special to Automake - when determining what to distribute, Automake includes anything that is selected for distribution under any combination of conditionals. While I'm here, include test keyring's README in tarballs: its advice is equally applicable in a tarball release. Signed-off-by: Simon McVittie <smcv@debian.org>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 7bbfef70..88148ac8 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,6 +1,7 @@
NULL =
bin_PROGRAMS = $(NULL)
+dist_installed_test_scripts = $(NULL)
noinst_PROGRAMS = $(NULL)
noinst_LTLIBRARIES = $(NULL)
libexec_PROGRAMS = $(NULL)