mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
build: force init scripts to rebuild on changed --prefix
Otherwise, './configure --prefix=/foo && make && ./configure --prefix=/bar && make' leaves the wrong files in libvirtd.init (/foo instead of /bar). * daemon/Makefile.am (libvirtd.init): Add dependency on config.status. Reported by Cole Robinson.
This commit is contained in:
parent
9c563e76e8
commit
482e08a98a
@ -239,7 +239,7 @@ uninstall-init:
|
||||
|
||||
BUILT_SOURCES += libvirtd.init libvirt-guests.init
|
||||
|
||||
%.init: %.init.in
|
||||
%.init: %.init.in $(top_srcdir)/config.status
|
||||
$(AM_V_GEN)sed \
|
||||
-e s!\@localstatedir\@!@localstatedir@!g \
|
||||
-e s!\@sbindir\@!@sbindir@!g \
|
||||
|
Loading…
Reference in New Issue
Block a user