guix-commits
[Top][All Lists]
Advanced

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

06/09: build: Fix instantiation of 'guix-daemon.service' when builddir !


From: Ludovic Courtès
Subject: 06/09: build: Fix instantiation of 'guix-daemon.service' when builddir != srcdir.
Date: Sun, 19 Jul 2015 20:28:25 +0000

civodul pushed a commit to branch master
in repository guix.

commit f262f9f52dde48efcfc913a6f6dfd898bf469408
Author: Ludovic Courtès <address@hidden>
Date:   Sun Jul 19 21:59:00 2015 +0200

    build: Fix instantiation of 'guix-daemon.service' when builddir != srcdir.
    
    * daemon.am (etc/guix-daemon.service): Add $(MKDIR_P) invocation.  Add
      $(srcdir) when referring to the source file.
---
 daemon.am |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/daemon.am b/daemon.am
index 6a031a1..f2cb0a4 100644
--- a/daemon.am
+++ b/daemon.am
@@ -186,8 +186,9 @@ nodist_systemdservice_DATA = etc/guix-daemon.service
 
 etc/guix-daemon.service: etc/guix-daemon.service.in    \
                         $(top_builddir)/config.status
-       $(SED) -e 's|@''bindir''@|$(bindir)|' <         \
-              "etc/guix-daemon.service.in" > "address@hidden"
+       $(MKDIR_P) "`dirname "$@"`"
+       $(SED) -e 's|@''bindir''@|$(bindir)|' <                         \
+              "$(srcdir)/etc/guix-daemon.service.in" > "address@hidden"
        mv "address@hidden" "$@"
 
 EXTRA_DIST +=                                  \



reply via email to

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