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.
Not sure that Module::Build will work, because we're using
autoconf/automake, and not any Perl-specific build system.
FWIW I pushed this change a week ago:
http://git.et.redhat.com/?p=libguestfs.git;a=commitdiff;h=b488436cc54288f...
Rich.
--
Richard Jones, Emerging Technologies, Red Hat
http://et.redhat.com/~rjones
Read my programming blog:
http://rwmj.wordpress.com
Fedora now supports 75 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora