提交 f7ea2b5d 编写于 作者: C Cole Robinson

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).
上级 b509716b
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.
......
......@@ -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
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册