Re: gnupload example

2006-11-08 Thread Karl Berry
I suggested changing the example to: --to alpha.gnu.org:gnu/automake \\ But actually I had it exactly wrong, and you had it right in the first place. The gnu/ must *not* be there in the filename: directive, because the ftp-upload script on the server side puts it in. So it should

Re: gnupload example

2006-11-08 Thread Ralf Wildenhues
Hello Karl, * Karl Berry wrote on Wed, Nov 08, 2006 at 06:02:55PM CET: gnupload --help has this example: gnupload ... --to alpha.gnu.org:automake \\ ... I suggest changing it to: --to alpha.gnu.org:gnu/automake \\ Thanks. I took liberty to apply this

RE: How do you add an executable command into automake

2006-11-08 Thread Jeff Safier
I was unclear My question was not in terms of building and executable, but how to imbed an executable command into the make, that will run when executing the make. We have a message parser that generates a header file which is included in the actual source file. I need to make sure our message

Re: How do you add an executable command into automake

2006-11-08 Thread Pat Suwalski
Jeff Safier wrote: My question was not in terms of building and executable, but how to imbed an executable command into the make, that will run when executing the make. We have a message parser that generates a header file which is included in the actual source file. I need to make sure our

RE: How do you add an executable command into automake

2006-11-08 Thread Jeff Safier
Yes I understand this, but how do I do it using automake or how do I imbed this within my Makefile.am -Original Message- From: Pat Suwalski [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 08, 2006 10:13 AM To: Jeff Safier Cc: automake@gnu.org Subject: Re: How do you add an executable

Re: How do you add an executable command into automake

2006-11-08 Thread Pat Suwalski
Jeff Safier wrote: Yes I understand this, but how do I do it using automake or how do I imbed this within my Makefile.am Yes, that goes in Makefile.am, just as you saw it. --Pat

Re: How do you add an executable command into automake

2006-11-08 Thread Stepan Kasal
Hello, On Wed, Nov 08, 2006 at 10:00:45AM -0500, Jeff Safier wrote: We have a message parser that generates a header file which is included in the actual source file. then you have to write a standard make rule for the header. The rule will get copied from Makefile.am to Makefile.in and

gnupload example

2006-11-08 Thread Karl Berry
gnupload --help has this example: gnupload ... --to alpha.gnu.org:automake \\ ... I suggest changing it to: --to alpha.gnu.org:gnu/automake \\ Otherwise, there is a possible confusion that gnupload puts in the gnu/ for you. (This confused me for a while,

RE: adding libraries and header file directories

2006-11-08 Thread Jim Rainville
Hi Ralf - I tried adding the --preserver-dup-deps flag in several different ways. But for some reason it doesn't end up on the link line. I tried adding it to the front of the LD flags but I'm guessing this is a flag to libtool instead of to the linker. How do you add flags to libtool? Is there

Re: compilation rules with dependencies don't work with subdir-objects

2006-11-08 Thread Bruno Haible
Ralf Wildenhues wrote: This is currently simply not supported by Automake. Huh? The automake documentation, section Building a library, says: Extra objects can be added to a library using the `LIBRARY_LIBADD' variable. Object file names are an internal detail of Automake I understand

sysconf_DATA v. dist_sysconf_DATA

2006-11-08 Thread David Everly
automake (GNU automake) 1.9.6 autoconf (GNU Autoconf) 2.60 HP-UX omztdv1 B.11.23 U ia64 I have recently discovered this in the manual: By default, data files are not included in a distribution. Of course, you can use the dist_ prefix to change this on a per-variable basis. So instead of this

Re: compilation rules with dependencies don't work with subdir-objects

2006-11-08 Thread Ralf Wildenhues
Hello Bruno, Thanks for your feedback. It cleared some points up for me. * Bruno Haible wrote on Wed, Nov 08, 2006 at 06:40:08PM CET: Ralf Wildenhues wrote: This is currently simply not supported by Automake. Huh? The automake documentation, section Building a library, says: Extra

Re: adding libraries and header file directories

2006-11-08 Thread Ralf Wildenhues
Hello Jim, * Jim Rainville wrote on Wed, Nov 08, 2006 at 06:14:49PM CET: I tried adding the --preserver-dup-deps flag in several different ways. But for some reason it doesn't end up on the link line. I tried adding it to the front of the LD flags but I'm guessing this is a flag to libtool

Re: sysconf_DATA v. dist_sysconf_DATA

2006-11-08 Thread Stepan Kasal
Hello, On Wed, Nov 08, 2006 at 11:29:39AM -0700, David Everly wrote: I should have used this (because test.txt is not constructed): dist_sysconf_DATA = $(top_srcdir)/test.txt However, I've regularly run 'make distcheck' and it gives no error with the original sysconf_DATA. How can this

Re: sysconf_DATA v. dist_sysconf_DATA

2006-11-08 Thread David Everly
On 11/8/06, Stepan Kasal [EMAIL PROTECTED] wrote: Hello, On Wed, Nov 08, 2006 at 11:29:39AM -0700, David Everly wrote: I should have used this (because test.txt is not constructed): dist_sysconf_DATA = $(top_srcdir)/test.txt However, I've regularly run 'make distcheck' and it gives no

RE: adding libraries and header file directories

2006-11-08 Thread Jim Rainville
Doh! Sometimes I fail to see the forest for the trees. So I copied the link line and added the --perserve-dup-deps flag. Something weird happens here. It's cutting off a lot of the file names. I thought at first it was a copy and paste error but its not - libtool seems to be doing something really