On 05/16/2011 03:16 PM, Sam Steingold wrote: >> * Eric Blake <[email protected]> [2011-05-16 14:13:29 -0600]: >> >> Import that module, possibly add a cfg.mk counterpart (hmm, we >> probably ought to provide a template file for that; but you can use >> coreutils.git/cfg.mk for an idea of how it can be customized), use GNU >> make, and run 'make syntax-check' to catch a number of consistency >> errors. If you decide that a particular syntax check is inappropriate >> for your project, cfg.mk will let you omit it. > > it looks useful but _very_ hard to actually use. > > why is maint.mk put into my top dir?
Because that's where GNUmakefile looks for it. > shouldn't it go to src/build-aux/? Patches welcome, but for now, all projects using it have lived with it in the top directory. > why doesn't vc-list-files accept a list of directories? Patches welcome; seems like a useful addition. > (it would be 'src modules' for me) > why is $(srcdir)/lib/ hard-coded? I use gllib instead of lib. Where is it hard-coded? We've been trying to get rid of hard-coded aspects, but we can only fix things as they are pointed out. > > when I managed to get it "running", I got > warnings about HAVE_ALLOCA_H in ChangeLog, aclocal.m4, and configure. You can add per-file exemptions to particular rules, either via top-level .x-sc files or via entries in cfg.mk (the latter being fewer files to maintain). -- Eric Blake [email protected] +1-801-349-2682 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
