bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: link-warning a build-aux file?


From: Eric Blake
Subject: Re: link-warning a build-aux file?
Date: Thu, 01 Mar 2007 06:44:49 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.9) Gecko/20061207 Thunderbird/1.5.0.9 Mnenhy/0.7.4.666

-----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             address@hidden
-----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

[Prev in Thread] Current Thread [Next in Thread]