[Libguestfs] [PATCH] New tool: virt-edit
Daniel P. Berrange
berrange at redhat.com
Fri Oct 2 10:05:37 UTC 2009
On Thu, Oct 01, 2009 at 10:49:55AM +0100, Matthew Booth wrote:
> On 23/09/09 11:45, Daniel P. Berrange wrote:
> >If you name the file in GIT 'virt-edit' instead of 'virt-edit.pl'
> >you can just use the regular automake rules since you won't need to
> >be re-naming it upon install..
> >
> > bin_SCRIPTS = virt-edit
> >
> >and thus not have to write install + uninstall hooks.
>
> Is there a way to do this with Module::Build? I tried removing .pl, but
> the extension appears to be magic. I have to rename them explicitly.
This works for me in the libvirt TCK Module::Build rules
script_files => [
"bin/libvirt-tck",
],
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 :|
More information about the Libguestfs
mailing list