diff options
-rw-r--r-- | daemon.am | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/daemon.am b/daemon.am index 6a031a15b0..f2cb0a499e 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" > "$@.tmp" + $(MKDIR_P) "`dirname "$@"`" + $(SED) -e 's|@''bindir''@|$(bindir)|' < \ + "$(srcdir)/etc/guix-daemon.service.in" > "$@.tmp" mv "$@.tmp" "$@" EXTRA_DIST += \ |