Skip to content

Commit

Permalink
build: clean up ostree-remount if building without systemd
Browse files Browse the repository at this point in the history
This is necessary for "make distcheck" on Travis-CI.

Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>

Closes: #600
Approved by: cgwalters
  • Loading branch information
smcv authored and rh-atomic-bot committed Nov 29, 2016
1 parent d57036f commit a73fef3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions Makefile-decls.am
Expand Up @@ -46,6 +46,9 @@ gsettings_SCHEMAS =
ostree_bootdir = $(prefix)/lib/ostree
ostree_boot_PROGRAMS =

# This initializes some more variables
include $(top_srcdir)/buildutil/glib-tap.mk

# This is a special facility to chain together hooks easily
INSTALL_DATA_HOOKS =
install-data-hook: $(INSTALL_DATA_HOOKS)
Expand Down
4 changes: 4 additions & 0 deletions Makefile-switchroot.am
Expand Up @@ -17,6 +17,10 @@

if BUILDOPT_SYSTEMD
ostree_boot_PROGRAMS += ostree-remount
else
# It is built anyway as a side-effect of having the symlink in tests/,
# and if we declare it here, it gets cleaned up properly
check_PROGRAMS += ostree-remount
endif

ostree_prepare_root_SOURCES = \
Expand Down
2 changes: 0 additions & 2 deletions Makefile-tests.am
Expand Up @@ -17,8 +17,6 @@
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.

include $(top_srcdir)/buildutil/glib-tap.mk

EXTRA_DIST += \
buildutil/tap-driver.sh \
buildutil/tap-test \
Expand Down

0 comments on commit a73fef3

Please sign in to comment.