Re: Directory names should use $(PACKAGE_TARNAME), not $(PACKAGE)

2009-11-18 Thread Ludovic Courtès
Hi, Peter Johansson writes: > This doesn't help you much, but if I set > AC_INIT([GNU Guile], [1.0], [em...@example.org]) > > I get (using autoconf 2.64 and automake 1.11): > PACKAGE = guile > PACKAGE_NAME = GNU Guile > PACKAGE_TARNAME = guile > > IIRC, the first one is set by automake and the t

Re: Directory names should use $(PACKAGE_TARNAME), not $(PACKAGE)

2009-11-18 Thread Ludovic Courtès
Hi Peter, Peter Johansson writes: > Ludovic Courtès wrote: >> Hello, >> >> I recently changed Guile so that PACKAGE is “GNU Guile” (instead of >> “guile”), while PACKAGE_TARNAME remains “guile”. >> >> > I wonder how you did that. Could you please post your AC_INIT line, > and AM_INIT_AUTOMAKE

Re: Directory names should use $(PACKAGE_TARNAME), not $(PACKAGE)

2009-11-18 Thread Peter Johansson
Hi Ludo, Ludovic Courtès wrote: The ‘configure.ac’ file: http://git.savannah.gnu.org/gitweb/?p=guile.git;a=blob;f=configure.ac;h=476a73c75e5f415af7b60b22166f61458b19bc38;hb=e17b58c22e50a515a1c14bd4f93372bf3df75b9a This doesn't help you much, but if I set AC_INIT([GNU Guile], [1.0], [em..

Re: Directory names should use $(PACKAGE_TARNAME), not $(PACKAGE)

2009-11-18 Thread Peter Johansson
Hello Ludo, Ludovic Courtès wrote: Hello, I recently changed Guile so that PACKAGE is “GNU Guile” (instead of “guile”), while PACKAGE_TARNAME remains “guile”. I wonder how you did that. Could you please post your AC_INIT line, and AM_INIT_AUTOMAKE if you set PACKAGE the old school way. T

Re: Directory names should use $(PACKAGE_TARNAME), not $(PACKAGE)

2009-11-18 Thread Ludovic Courtès
Hello, l...@gnu.org (Ludovic Courtès) writes: > 2. $(pkglibdir), $(pkgdatadir), etc., all use .../$(PACKAGE), but I > think it should really be .../$(PACKAGE_TARNAME). This is actually documented in Automake (info "(automake) Uniform"), but this choice conflicts with what Autoconf says (i

Directory names should use $(PACKAGE_TARNAME), not $(PACKAGE)

2009-11-18 Thread Ludovic Courtès
Hello, I recently changed Guile so that PACKAGE is “GNU Guile” (instead of “guile”), while PACKAGE_TARNAME remains “guile”. In doing so, I noticed that: 1. $(distdir) is $(PACKAGE)-$(VERSION), but it should really be $(PACKAGE_TARNAME)-$(VERSION). 2. $(pkglibdir), $(pkgdatadir), etc.,