Re: Appending to builtin Automake variables from an included file

2009-02-28 Thread Ralf Wildenhues
Hello, * Allan Caffee wrote on Thu, Feb 26, 2009 at 02:49:16PM CET: That is certainly one possibility. Unfortunately though that means that in the Makefile.am files you _must_ use += since Automake will error out if you assign more than one value to a variable (within the same Automake

make distcheck fail due to unset DESTDIR

2009-02-28 Thread Roger Leigh
Hi folks, In a Makefile.am, I have the following: -- if BUILD_DEBVERSION pg_server_lib_LTLIBRARIES = \ debversion.la debversion_la_SOURCES = \ debversion.cc debversion_la_CXXFLAGS = -I$(pg_server_includedir) debversion_la_LDFLAGS = -module -avoid-version

Re: make distcheck fail due to unset DESTDIR

2009-02-28 Thread Ralf Wildenhues
* Roger Leigh wrote on Sat, Feb 28, 2009 at 03:14:27PM CET: pg_contrib_DATA = \ debversion.sql \ uninstall_debversion.sql However, make distcheck fails, with: make[3]: Entering directory `/home/rleigh/sbuild/sbuild-0.58.0/_build/db'

Re: make distcheck fail due to unset DESTDIR

2009-02-28 Thread Roger Leigh
On Sat, Feb 28, 2009 at 03:38:42PM +0100, Ralf Wildenhues wrote: * Roger Leigh wrote on Sat, Feb 28, 2009 at 03:14:27PM CET: pg_contrib_DATA = \ debversion.sql \ uninstall_debversion.sql However, make distcheck fails, with: make[3]:

Re: make distcheck fail due to unset DESTDIR

2009-02-28 Thread Ralf Wildenhues
* Roger Leigh wrote on Sat, Feb 28, 2009 at 06:10:11PM CET: On Sat, Feb 28, 2009 at 03:38:42PM +0100, Ralf Wildenhues wrote: Why? Apart from a DESTDIR install, distcheck also tries to configure and install the tree below some specific --prefix, and tries to ensure that your package

Re: Appending to builtin Automake variables from an included file

2009-02-28 Thread Jan Engelhardt
On Saturday 2009-02-28 11:16, Ralf Wildenhues wrote: Modern Automake does support appending. But only appending to a variable that has already been set. Yes. This is done primarily to be able to diagnose typos, e.g., foolish = foo1ish += bar [...] Is it worth the hassle? It's certainly