diff options
author | Dan Nicholson <nicholson@endlessm.com> | 2016-06-27 13:06:23 -0700 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2016-06-27 20:20:21 +0000 |
commit | 8933c93a554031f27cc68a2629e96dd718d9b629 (patch) | |
tree | a54424a3c96749beee7f070fcc925b4ef22fdda0 /Makefile-boot.am | |
parent | a94530111a31ff3784af293a6cd4da4c3c7bc34c (diff) | |
download | ostree-8933c93a554031f27cc68a2629e96dd718d9b629.tar.gz |
build: Override systemd unit directory for distcheck
distcheck tests that all the files are installed under $prefix. That
doesn't work with the systemd unit directory since the path comes from
pkg-config. Override the setting to be under $prefix in that case.
Closes: #372
Approved by: cgwalters
Diffstat (limited to 'Makefile-boot.am')
-rw-r--r-- | Makefile-boot.am | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile-boot.am b/Makefile-boot.am index 8b62d1ba..508f59bc 100644 --- a/Makefile-boot.am +++ b/Makefile-boot.am @@ -38,6 +38,9 @@ endif if BUILDOPT_SYSTEMD systemdsystemunit_DATA = src/boot/ostree-prepare-root.service \ src/boot/ostree-remount.service + +# Allow the distcheck install under $prefix test to pass +AM_DISTCHECK_CONFIGURE_FLAGS += --with-systemdsystemunitdir='$${libdir}/systemd/system' endif if !BUILDOPT_BUILTIN_GRUB2_MKCONFIG |