diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-07-19 21:59:00 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-07-19 21:59:00 +0200 |
commit | f262f9f52dde48efcfc913a6f6dfd898bf469408 (patch) | |
tree | ba0a62a59c4a9c795cdec0200849e4b27b5c93b8 | |
parent | 54faf17440aee57b90737c10436beb6cc1de5778 (diff) | |
download | guix-f262f9f52dde48efcfc913a6f6dfd898bf469408.tar.gz guix-f262f9f52dde48efcfc913a6f6dfd898bf469408.zip |
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.
-rw-r--r-- | daemon.am | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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" > "$@.tmp" + $(MKDIR_P) "`dirname "$@"`" + $(SED) -e 's|@''bindir''@|$(bindir)|' < \ + "$(srcdir)/etc/guix-daemon.service.in" > "$@.tmp" mv "$@.tmp" "$@" EXTRA_DIST += \ |