diff options
author | Christopher Baines <mail@cbaines.net> | 2020-09-16 14:51:44 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2020-09-16 14:51:44 +0100 |
commit | b606e99073bc207015f6d71e5f4aa03184eb5587 (patch) | |
tree | fdadeb422067992372fefea371643d457734733e /Makefile.am | |
parent | 7dbc830177ccaea1d97728d7b3e5e943d987031a (diff) | |
download | build-coordinator-b606e99073bc207015f6d71e5f4aa03184eb5587.tar build-coordinator-b606e99073bc207015f6d71e5f4aa03184eb5587.tar.gz |
Add install-data-local to Makefile.am
To install the sqitch data and README.org.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 6 |
1 files changed, 6 insertions, 0 deletions
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" |