bug-gnulib
[Top][All Lists]
Advanced

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

Re: Use of gnulib's cfg.mk


From: Bruno Haible
Subject: Re: Use of gnulib's cfg.mk
Date: Sat, 14 Apr 2012 20:44:11 +0200
User-agent: KMail/4.7.4 (Linux/3.1.0-1.2-desktop; KDE/4.7.4; x86_64; ; )

Reuben Thomas wrote:
> I see that gnulib has its own cfg.mk which is used, for example, to
> skip some syntax-check checks on gnulib's own code.
> ...
> I can't see that gnulib's cfg.mk is mentioned by any module.

Yes,
  $ ./gnulib-tool --find cfg.mk
shows that cfg.mk is not contained in any module. This is because it
describes syntax rules for the gnulib source code, not for the Zile
or Hello source code.

You are supposed to use a cfg.mk file of your own in Zile or Hello.

> It also has its own Makefile.am.

No, gnulib does not have a Makefile.am. It has a couple of Makefiles,
though. They are also not meant to be copied into your package.

> I can't see a way to include a git submodule. How do I get these files
> using just gnulib-tool?

gnulib-tool has an option --copy-file that can retrieve a single file
out of the gnulib repository, independently of any modules. It's sometimes
useful for config.guess and config.sub. But please think twice before using
it!

Bruno




reply via email to

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