Re: Warn: non-POSIX variable name

2008-08-18 Thread Steven Woody
On Tue, Aug 19, 2008 at 10:51 AM, Brian Dessent <[EMAIL PROTECTED]> wrote: > Steven Woody wrote: > >> How do I remove these warnings when do automake: >> >> src/rmeterd/Makefile.am:9: shell ../../svndate-sh: non-POSIX variable >> name >> src/rmeterd/Makefile.am:9: (probably a GNU make exte

Re: Warn: non-POSIX variable name

2008-08-18 Thread Ralf Wildenhues
Hello, * Brian Dessent wrote on Tue, Aug 19, 2008 at 04:51:42AM CEST: > Steven Woody wrote: > > > > rmeterd_CXXFLAGS = \ > > -D'SVN_REV="$(shell ../../svnrev-sh)"' \ > > -D'SVN_DATE="$(shell ../../svndate-sh)"' > > What's the correct way to do this wit

Re: Warn: non-POSIX variable name

2008-08-18 Thread Brian Dessent
Steven Woody wrote: > How do I remove these warnings when do automake: > > src/rmeterd/Makefile.am:9: shell ../../svndate-sh: non-POSIX variable name > src/rmeterd/Makefile.am:9: (probably a GNU make extension) > > in the Makefile.am, I did something like this: > > rmeterd_CXXFLAGS

Warn: non-POSIX variable name

2008-08-18 Thread Steven Woody
Hi, How do I remove these warnings when do automake: src/rmeterd/Makefile.am:9: shell ../../svndate-sh: non-POSIX variable name src/rmeterd/Makefile.am:9: (probably a GNU make extension) in the Makefile.am, I did something like this: rmeterd_CXXFLAGS = \ -D'SVN_

Re: best practice advice, use of a custom local-clean target

2008-08-18 Thread Noah Slater
On Mon, Aug 18, 2008 at 01:56:15PM +0200, Ralf Wildenhues wrote: > Because the functionality is notoriously difficult to implement nicely > in autotools itself, so that it works under all circumstances. Benoit > worked on it last year, we've never finished it. Sure, thanks for the info. > You sh

Re: best practice advice, use of a custom local-clean target

2008-08-18 Thread Ralf Wildenhues
Hi Noah, * Noah Slater wrote on Mon, Aug 18, 2008 at 01:19:46PM CEST: > * Why do I need to create my own target to clean up the Makefile.in files and >other sundry left overs? Because the functionality is notoriously difficult to implement nicely in autotools itself, so that it works under a

best practice advice, use of a custom local-clean target

2008-08-18 Thread Noah Slater
Hello, I have two targets, local-clean and distsign, here: http://svn.apache.org/repos/asf/incubator/couchdb/trunk/Makefile.am I have a couple of questions: * Why do I need to create my own target to clean up the Makefile.in files and other sundry left overs? Should Automake not ideally c