me
/
guix
Archived
1
0
Fork 0

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.
master
Ludovic Courtès 2015-07-19 21:59:00 +02:00
parent 54faf17440
commit f262f9f52d
1 changed files with 3 additions and 2 deletions

View File

@ -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 += \