Eric Blake
2017-Nov-15 16:50 UTC
[Libguestfs] [nbdkit PATCH] maint: Rebuild nbdkit if nbdkit.in changes
Tell automake that we want ./nbdkit to be kept up-to-date in the developer's tree. Otherwise, after touching nbdkit.in, you would have to remember to manually run 'make nbdkit'. Signed-off-by: Eric Blake <eblake@redhat.com> --- Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.am b/Makefile.am index 315aa36..7815258 100644 --- a/Makefile.am +++ b/Makefile.am @@ -39,6 +39,8 @@ EXTRA_DIST = \ valgrind-suppressions \ m4/.gitignore +noinst_SCRIPTS = nbdkit + SUBDIRS = \ docs \ include \ -- 2.13.6
Richard W.M. Jones
2017-Nov-16 11:49 UTC
Re: [Libguestfs] [nbdkit PATCH] maint: Rebuild nbdkit if nbdkit.in changes
On Wed, Nov 15, 2017 at 10:50:06AM -0600, Eric Blake wrote:> Tell automake that we want ./nbdkit to be kept up-to-date in the > developer's tree. Otherwise, after touching nbdkit.in, you would > have to remember to manually run 'make nbdkit'. > > Signed-off-by: Eric Blake <eblake@redhat.com> > --- > Makefile.am | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/Makefile.am b/Makefile.am > index 315aa36..7815258 100644 > --- a/Makefile.am > +++ b/Makefile.am > @@ -39,6 +39,8 @@ EXTRA_DIST = \ > valgrind-suppressions \ > m4/.gitignore > > +noinst_SCRIPTS = nbdkit > + > SUBDIRS = \ > docs \ > include \ACK This is missing from a few places in libguestfs too ... Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into KVM guests. http://libguestfs.org/virt-v2v
Eric Blake
2017-Nov-16 17:13 UTC
Re: [Libguestfs] [nbdkit PATCH] maint: Rebuild nbdkit if nbdkit.in changes
On 11/16/2017 05:49 AM, Richard W.M. Jones wrote:> On Wed, Nov 15, 2017 at 10:50:06AM -0600, Eric Blake wrote: >> Tell automake that we want ./nbdkit to be kept up-to-date in the >> developer's tree. Otherwise, after touching nbdkit.in, you would >> have to remember to manually run 'make nbdkit'. >> >> Signed-off-by: Eric Blake <eblake@redhat.com> >> --- >> Makefile.am | 2 ++ >> 1 file changed, 2 insertions(+) >> >> diff --git a/Makefile.am b/Makefile.am >> index 315aa36..7815258 100644 >> --- a/Makefile.am >> +++ b/Makefile.am >> @@ -39,6 +39,8 @@ EXTRA_DIST = \ >> valgrind-suppressions \ >> m4/.gitignore >> >> +noinst_SCRIPTS = nbdkit >> + >> SUBDIRS = \ >> docs \ >> include \ > > ACK > > This is missing from a few places in libguestfs too ...I haven't tried building libguestfs yet, so I'd rather leave those additional cross-project improvements to you for now; but the nbdkit patch is pushed (proving my commit rights now work). -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org
Reasonably Related Threads
- [nbdkit PATCH] maint: Rebuild nbdkit if nbdkit.in changes
- [libnbd PATCH] maint: Use $(NULL) for all Makefile.am macro lists
- [nbdkit PATCH v2 1/5] maint: Improve ./nbdkit option parsing
- [nbdkit PATCH] maint: Improve ./nbdkit handling of --opt=value
- [nbdkit PATCH] maint: Adjust cleaning rules