Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora/Linux Management Tools (http://www.linux-archive.org/fedora-linux-management-tools/)
-   -   virt-viewer: remove built files in build dir (http://www.linux-archive.org/fedora-linux-management-tools/186788-virt-viewer-remove-built-files-build-dir.html)

"Daniel P. Berrange" 11-03-2008 10:05 AM

virt-viewer: remove built files in build dir
 
On Sun, Nov 02, 2008 at 06:43:38PM +0100, Guido G?nther wrote:
> Hi,
> attached patch removes the files in the build dir instead of trying to
> do so in the installed system (fix is similar to what I submitted for
> gtk-vnc).

Thanks, I've applied this change

> Cheers,
> -- Guido

> diff --git a/plugin/Makefile.am b/plugin/Makefile.am
> index ff1536e..2ccffe6 100644
> --- a/plugin/Makefile.am
> +++ b/plugin/Makefile.am
> @@ -26,7 +26,7 @@ virt-viewer-plugin.so: virt-viewer-plugin.la
>
> # Only leave the .so file in the plugins directory.
> install-data-hook:
> - rm -f $(plugindir)/virt-viewer-plugin.a $(plugindir)/virt-viewer-plugin.la
> + rm -f $(DESTDIR)$(plugindir)/virt-viewer-plugin.a $(plugindir)/virt-viewer-plugin.la

The 2nd filename needed $(DESTDIR) here too.

Daniel
--
|: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools


All times are GMT. The time now is 09:14 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.