me
/
guix
Archived
1
0
Fork 0

gnu: mumi: Install assets.

* gnu/packages/mail.scm (mumi)[source](snippet): Modify "Makefile.am" so
that assets are installed.
master
Ludovic Courtès 2019-12-21 22:27:17 +01:00
parent 8ff573d3a0
commit ec73e50bad
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 15 additions and 3 deletions

View File

@ -3008,12 +3008,24 @@ replacement for the @code{urlview} program.")
(modules '((guix build utils)))
(snippet
'(begin
;; Install .go files to $prefix/lib instead of
;; $prefix/share.
(substitute* "Makefile.am"
;; Install .go files to $prefix/lib instead of
;; $prefix/share.
(("^godir[[:space:]]*=.*")
"godir = \
$(libdir)/guile/@GUILE_EFFECTIVE_VERSION@/site-ccache\n"))
$(libdir)/guile/@GUILE_EFFECTIVE_VERSION@/site-ccache\n")
;; Install assets.
(("^assetsdir.*" _)
"\
assetsdir = $(pkgdatadir)/assets
assetscssdir = $(assetsdir)/css
assetsimgdir = $(assetsdir)/img
assetsjsdir = $(assetsdir)/js
assetscss_DATA = $(wildcard assets/css/*)
assetsimg_DATA = $(wildcard assets/img/*)
assetsjs_DATA = $(wildcard assets/js/*)\n"))
#t))))
(build-system gnu-build-system)
(arguments