RE: non-recursive project example

2002-04-23 Thread Robert Collins

Here's one..
I've got another more complete example with installable libraries and
headers if needed, but it's somewhat longer. This is a trimmed down file
from a current project.

Rob

## Process this file with automake to produce Makefile.in
#
# $Id: Makefile.am,v 1.3 2002/01/13 14:16:17 robertc Exp $
#

AUTOMAKE_OPTIONS = dist-bzip2 subdir-objects VERSION=1.5
DISTCLEANFILES = include/stamp-h include/stamp-h[0-9]*

bin_PROGRAMS = foo

noinst_LTLIBRARIES = src/bar.la 

INCLUDES = -I $(top_srcdir)/include

noinst_HEADERS = include/bar.h 

foo_SOURCES = src/foo.cc 
foo_LDADD = src/bar.la 

src_bar_la_SOURCES = src/bar.cc
src_bar_la_LDFLAGS = -module





Re: non-recursive project example

2002-04-23 Thread Alexandre Duret-Lutz

 Robert == Robert Collins [EMAIL PROTECTED] writes:

[...]

 Robert AUTOMAKE_OPTIONS = dist-bzip2 subdir-objects VERSION=1.5

Where does this `VERSION=1.5' usage comes from?  That the second
time I see it.  AFAICT this relies on a bug in Automake which
has been fixed in 1.6.1.  This should be

  AUTOMAKE_OPTIONS = dist-bzip2 subdir-objects 1.5

(i.e. without the `VERSION=')

[...]
-- 
Alexandre Duret-Lutz





RE: non-recursive project example

2002-04-23 Thread Robert Collins



 -Original Message-
 From: Alexandre Duret-Lutz [mailto:[EMAIL PROTECTED]] 
 Sent: Tuesday, April 23, 2002 10:07 PM
 To: Robert Collins
 Cc: Tim Waugh; [EMAIL PROTECTED]
 Subject: Re: non-recursive project example
 
 
  Robert == Robert Collins 
 [EMAIL PROTECTED] writes:
 
 [...]
 
  Robert AUTOMAKE_OPTIONS = dist-bzip2 subdir-objects VERSION=1.5
 
 Where does this `VERSION=1.5' usage comes from?  That the 
 second time I see it.  AFAICT this relies on a bug in 
 Automake which has been fixed in 1.6.1.  This should be

When did it get fixed? If it wasn't fixed in 1.5, then my usage comes
from getting it to work under 1.5.

Rob




Re: non-recursive project example

2002-04-23 Thread Alexandre Duret-Lutz

 Robert == Robert Collins [EMAIL PROTECTED] writes:

 Robert When did it get fixed? 

1.6.1
-- 
Alexandre Duret-Lutz





RE: non-recursive project example

2002-04-23 Thread Robert Collins



 -Original Message-
 From: Alexandre Duret-Lutz [mailto:[EMAIL PROTECTED]] 
 Sent: Tuesday, April 23, 2002 10:26 PM
 To: Robert Collins
 Cc: Tim Waugh; [EMAIL PROTECTED]
 Subject: Re: non-recursive project example
 
 
  Robert == Robert Collins 
 [EMAIL PROTECTED] writes:
 
  Robert When did it get fixed? 
 
 1.6.1

That'll be it then. I'll leave it as it is until 1.5 fades from use... 

Rob




RE: non-recursive project example

2002-04-23 Thread Robert Collins



 -Original Message-
 From: Alexandre Duret-Lutz [mailto:[EMAIL PROTECTED]] 
 Sent: Tuesday, April 23, 2002 10:48 PM
 To: Robert Collins
 Cc: Tim Waugh; [EMAIL PROTECTED]
 Subject: Re: non-recursive project example
 
 
  Robert == Robert Collins 
 [EMAIL PROTECTED] writes:
 
 [...]
 
  Robert When did it get fixed? 
   
   1.6.1
 
  Robert That'll be it then. I'll leave it as it is until 1.5 
  Robert fades from use... 
 
 Maybe I was not clear: if you simply remove the `VERSION=' 
 prefix it will work as you intend (and as documented) with 
 *all* versions of Automake.

Cool. Ok, will do.

Rob