Tweak the Makefile.am to install the right things
Install the assets and sqitch files, as they are needed. Remove the test related sources.
This commit is contained in:
parent
42c608e004
commit
88922d9f11
1 changed files with 10 additions and 0 deletions
10
Makefile.am
10
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 \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue