[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: import question
From: |
Jim Meyering |
Subject: |
Re: import question |
Date: |
Sun, 08 Jan 2012 15:58:08 +0100 |
Werner LEMBERG wrote:
> the normal usage of gnulib is to import files into a project, this is,
> calling `gnulib-tool --import', then adding the imported files to the
> repository.
Hi Werner,
In my experience, that is not "normal usage".
I (and AFAIK, everyone who contributes regularly here) recommend
*not* to version-control the files that gnulib-tool imports.
> I wonder whether the step `adding files to the repository' is
> necessary at all. Why not simply calling gnulib-tool directly in the
> `autogen.sh' script?
That is precisely what most projects already do. The packages I tend,
(coreutils, diffutils, gzip, grep, patch, parted, idutils, vc-dwim, cppi)
all invoke gnulib-tool via the autogen-like bootstrap script from
gnulib's build-aux/ directory.