mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
build: Fix .service and .conf targets for VPATH builds.
* nix/local.mk (etc/guix-%.service, etc/guix-%.conf): Use "$<", not "$(srcdir)/$<".
This commit is contained in:
parent
fa54f44bb7
commit
5a5fc61f07
1 changed files with 6 additions and 6 deletions
|
@ -191,7 +191,7 @@ etc/guix-%.service: etc/guix-%.service.in \
|
|||
$(top_builddir)/config.status
|
||||
$(AM_V_GEN)$(MKDIR_P) "`dirname $@`"; \
|
||||
$(SED) -e 's|@''bindir''@|$(bindir)|' < \
|
||||
"$(srcdir)/$<" > "$@.tmp"; \
|
||||
"$<" > "$@.tmp"; \
|
||||
mv "$@.tmp" "$@"
|
||||
|
||||
# The '.conf' jobs for Upstart.
|
||||
|
@ -202,7 +202,7 @@ etc/guix-%.conf: etc/guix-%.conf.in \
|
|||
$(top_builddir)/config.status
|
||||
$(AM_V_GEN)$(MKDIR_P) "`dirname $@`"; \
|
||||
$(SED) -e 's|@''bindir''@|$(bindir)|' < \
|
||||
"$(srcdir)/$<" > "$@.tmp"; \
|
||||
"$<" > "$@.tmp"; \
|
||||
mv "$@.tmp" "$@"
|
||||
|
||||
EXTRA_DIST += \
|
||||
|
|
Loading…
Reference in a new issue