On Thu, Apr 15, 2010 at 11:21:18AM +0200, Philipp Hahn wrote: > > During an out-of-tree build, the current working directory is the build > directory. Since the FILTERS are static and not modified or > auto-generated during the build process, they need to be explicitly > fetched from the source directory during install. > > Prefix the files with $(srcdir), which gets expanded to the absolute or > relative path to the source directory, even when duing out-of-tree > builds. > > Signed-off-by: Philipp Hahn <hahn@xxxxxxxxxxxxx> > --- > examples/xml/nwfilter/Makefile.am | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > diff --git a/examples/xml/nwfilter/Makefile.am b/examples/xml/nwfilter/Makefile.am > index dcc5be0..54a7aae 100644 > --- a/examples/xml/nwfilter/Makefile.am > +++ b/examples/xml/nwfilter/Makefile.am > @@ -22,7 +22,7 @@ NWFILTER_DIR = "$(DESTDIR)$(sysconfdir)/libvirt/nwfilter" > install-data-local: > $(MKDIR_P) "$(NWFILTER_DIR)" > for f in $(FILTERS); do \ > - $(INSTALL_DATA) $$f "$(NWFILTER_DIR)"; \ > + $(INSTALL_DATA) $(srcdir)/$$f "$(NWFILTER_DIR)"; \ > done > > uninstall-local:: ACK Daniel -- |: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :| |: http://libvirt.org -o- http://virt-manager.org -o- http://deltacloud.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :| -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list