Sylvain Beucler wrote on 2007-09-17: > I added getopt in my packages, following the documentation. Here are > the fixes I needed in Section 2.1: > > LIBADD = lib/libgnu.la > becomes > LDADD = $(top_builddir)/lib/libgnu.a > > - no .la in the common case > > - switching to LDADD (LIBADD doesn't seem to work, app_LIBADD produces > an Automake error) > > - adding $(top_builddir) > > > Note: even when "adding `gl_SOURCE_BASE(DIRECTORY)' and > `gl_M4_BASE(DIRECTORY)' to your configure.ac." it seems I need to > explicitely specify --source-base=DIRECTORY and --m4-base=DIRECTORY > during the first import.
You must have been looking at the 3-year-old manual on www.gnu.org? Ouch. I have now replaced this with a new manual, generated by $ cd doc $ ../build-aux/gendocs.sh gnulib "The GNU Portability Library" Karl: There are two problems with it: 1) When I visit the page http://www.gnu.org/software/gnulib/manual/ konqueror 3.1.4 displays no navigation menu and tells me 3 times: QFont::setPixelSize: Pixel size <= 0 (0) This is due to the line #print-this-article, #gplv3-dogear, .netscape4, #sidebar, #navigation-bar, #fsflinks, #gnulogo, #dbdlogo, #links, #translations, #searcher{display: none !important;} in gnu-print.css. 2) http://www.gnu.org/software/gnulib/manual/html_node/index.html is an awful mix between a table of contents and the description of the function index(). Could makeinfo handle the case of a node called 'index' better? > Note2: nice Git work in gnulib-tool :) But ignoring almost all files > in .gitignore is a bit puzzling - git status won't show them and > you're likely to miss them during the import. Why is it the case? Most developers nowadays don't commit generated files into their version control system. From their point of view, files copied or assembled by gnulib-tool are generated files. Therefore gnulib-tool puts them into .cvsignore and .gitignore. Bruno