mirror of
https://github.com/flatpak/flatpak.git
synced 2026-01-31 11:01:22 -05:00
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>