Generate some config files at build time, not install time.

Generating at install time breaks 'make && sudo make install' if root
can't access the users home directory (NFS w/o no_root_squash for example).
This commit is contained in:
Cole Robinson 2009-05-19 13:22:00 +00:00
parent b509716b33
commit f7ea2b5d7f
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,7 @@
Tue May 19 09:20:54 EDT 2009 Cole Robinson <crobinso@redhat.com>
* qemud/Makefile.am: Generate some config files at build time.
Tue May 19 09:16:37 EDT 2009 Cole Robinson <crobinso@redhat.com>
Add documentation for <sound> device XML format.

View File

@ -31,6 +31,8 @@ EXTRA_DIST = \
$(AVAHI_SOURCES) \
$(DAEMON_SOURCES)
BUILT_SOURCES = libvirtd.init libvirtd.logrotate
if HAVE_RPCGEN
#
# Maintainer-only target for re-generating the derived .c/.h source
@ -212,7 +214,6 @@ remote_dispatch_args.h: $(srcdir)/remote_generate_stubs.pl remote_protocol.x
remote_dispatch_ret.h: $(srcdir)/remote_generate_stubs.pl remote_protocol.x
perl -w $(srcdir)/remote_generate_stubs.pl -r $(srcdir)/remote_protocol.x > $@
DISTCLEANFILES += libvirtd.logrotate
libvirtd.logrotate: libvirtd.logrotate.in
sed \
-e s!\@localstatedir\@!@localstatedir@!g \
@ -256,6 +257,7 @@ else
install-init:
uninstall-init:
libvirtd.init:
endif # DBUS_INIT_SCRIPTS_RED_HAT
@ -265,5 +267,5 @@ libvirtd_LDADD += ../gnulib/lib/libgnu.la $(LIBSOCKET)
endif # WITH_LIBVIRTD
CLEANFILES = libvirtd.init
CLEANFILES = $(BUILT_SOURCES)
CLEANFILES += *.cov *.gcov .libs/*.gcda .libs/*.gcno *.gcno *.gcda