mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
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.
This commit is contained in:
parent
54faf17440
commit
f262f9f52d
1 changed files with 3 additions and 2 deletions
|
@ -186,8 +186,9 @@ nodist_systemdservice_DATA = etc/guix-daemon.service
|
||||||
|
|
||||||
etc/guix-daemon.service: etc/guix-daemon.service.in \
|
etc/guix-daemon.service: etc/guix-daemon.service.in \
|
||||||
$(top_builddir)/config.status
|
$(top_builddir)/config.status
|
||||||
$(SED) -e 's|@''bindir''@|$(bindir)|' < \
|
$(MKDIR_P) "`dirname "$@"`"
|
||||||
"etc/guix-daemon.service.in" > "$@.tmp"
|
$(SED) -e 's|@''bindir''@|$(bindir)|' < \
|
||||||
|
"$(srcdir)/etc/guix-daemon.service.in" > "$@.tmp"
|
||||||
mv "$@.tmp" "$@"
|
mv "$@.tmp" "$@"
|
||||||
|
|
||||||
EXTRA_DIST += \
|
EXTRA_DIST += \
|
||||||
|
|
Loading…
Reference in a new issue