From b606e99073bc207015f6d71e5f4aa03184eb5587 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Wed, 16 Sep 2020 14:51:44 +0100 Subject: Add install-data-local to Makefile.am To install the sqitch data and README.org. --- Makefile.am | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile.am b/Makefile.am index 1922446..72cc2d7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -19,3 +19,9 @@ SOURCES = \ guix-build-coordinator/guix-data-service.scm \ guix-build-coordinator/hooks.scm \ guix-build-coordinator/utils.scm + +install-data-local: + mkdir -p "$(DESTDIR)$(pkgdatadir)" || exit 1; + cp -r sqitch "$(DESTDIR)$(pkgdatadir)/" || exit 1; + mkdir -p "$(DESTDIR)$(docdir)"; + cp README.org "$(DESTDIR)$(docdir)/README.org" -- cgit v1.2.3