From 88922d9f11554288956ad002c04094022a7db84d Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Sat, 8 Jun 2019 10:27:07 +0100 Subject: Tweak the Makefile.am to install the right things Install the assets and sqitch files, as they are needed. Remove the test related sources. --- Makefile.am | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 1bb1b58..758f5e8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -30,6 +30,16 @@ moddir = $(prefix)/share/guile/site/$(GUILE_EFFECTIVE_VERSION) godir = $(moddir) assetsdir = $(datadir)/@PACKAGE@ +install-data-local: + mkdir -p "$(DESTDIR)$(pkgdatadir)" || exit 1; + cp -r assets "$(DESTDIR)$(pkgdatadir)/" || exit 1; + cp -r sqitch "$(DESTDIR)$(pkgdatadir)/" || exit 1; + +install-data-hook: +# These files shouldn't be installed, but I have no idea how to specify that +# :( + rm -r "$(DESTDIR)$(moddir)/tests" + SOURCES = \ guix-data-service/branch-updated-emails.scm \ guix-data-service/builds.scm \ -- cgit v1.2.3