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: Simon Josefsson
Subject: Re: link-warning a build-aux file?
Date: Thu, 01 Mar 2007 14:35:33 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.94 (gnu/linux)

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

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.

/Simon




reply via email to

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