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:
Eric Blake 2010-05-21 15:18:24 -06:00
parent 9c563e76e8
commit 482e08a98a

View File

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