guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/10: gnu: mumi: Install assets.


From: guix-commits
Subject: 06/10: gnu: mumi: Install assets.
Date: Sat, 21 Dec 2019 17:55:51 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit ec73e50bad079bc0fd88ffb1d19837b377782431
Author: Ludovic Court├Ęs <address@hidden>
Date:   Sat Dec 21 22:27:17 2019 +0100

    gnu: mumi: Install assets.
    
    * gnu/packages/mail.scm (mumi)[source](snippet): Modify "Makefile.am" so
    that assets are installed.
---
 gnu/packages/mail.scm | 18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 75d774d..31efea4 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]