On 07/24/2018 03:40 PM, Bernhard Voelker wrote:
On 07/24/2018 04:08 PM, Eric Blake wrote:
On 07/19/2018 12:22 PM, Bernhard Voelker wrote:
On 06/25/2018 06:48 PM, Pádraig Brady wrote:
`make gnulib-sync` would definitely be worth doing.
Done in the attached. WDYT?
Can we move this to gnulib's maint.mk for sharing with other projects?
Ideally yes - the problem is that the list of files to sync from gnulib
may be different for each project, and even the basenames of some
file sometimes do not match:
+ && cp -v gnulib/doc/COPYINGv3 COPYING \
Any idea how to work around that?
As long as any customizations can be characterized into cfg.mk overrides
and the generic rule in maint.mk knows how to honor those overrides, it
seems like it should work. But I'm not sure what data representation
would be easiest to manipulate into those overrides.
A different approach would be using git symlinks that point into the git
submodule (then your local file is always up-to-date if your submodule
is up-to-date).
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org