-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Simon Josefsson on 3/1/2007 6:35 AM:
> FYI, I solved this problem by letting gnulib put GNUmakefile and
> maint.mk into build-aux/, and use this top-level GNUmakefile:
> 
> have-gnulib-files := $(shell test -f gnulib.mk && test -f maint.mk && echo 
> yes)
> ifneq ($(have-gnulib-files),yes)
> gnulib.mk:
>       ln -s build-aux/GNUmakefile gnulib.mk || cp build-aux/GNUmakefile 
> gnulib.mk
>       ln -s build-aux/maint.mk maint.mk || cp build-aux/maint.mk maint.mk
> endif
> 
> -include gnulib.mk

Looks nice to me; I've been meaning to get maintainer-makefile imported
into M4, and this seems like a feasible way to do it.

> 
> If this approach works out well, it should go into the manual, because
> without it, the maintainer-makefile module seems useless for projects
> that use AC_CONFIG_AUX_DIR.

My other concern is how to make GNUMakefile play nicely with VPATH builds.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             [EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF5tjR84KuGfSFAYARAv3SAKDHhj7fFWSnMXAComRFkQ4QkSGHLwCfYXkn
041j45EbzUyo8Rkc4tMT83U=
=TGZC
-----END PGP SIGNATURE-----


Reply via email to