Re: How to use install-data-local conditionally with automake-1.6.3

2010-01-22 Thread Steffen Dettmer
(OT) Hi Ralf! On Thu, Jan 21, 2010 at 9:48 PM, wrote: > * Steffen Dettmer wrote on Thu, Jan 21, 2010 at 02:15:57PM CET: >> Perl 5.006 required--this is only version 5.00503, stopped at -e line 1. > > I'm really not interested in bug reports against 8-year-old 1.6.3. > Perl 5.6 is ten(!) years ol

Re: How to use install-data-local conditionally with automake-1.6.3

2010-01-21 Thread Ralf Wildenhues
Hello Steffen, * Steffen Dettmer wrote on Thu, Jan 21, 2010 at 02:15:57PM CET: > On Wed, Jan 20, 2010 at 10:20 PM, wrote: > > BTW, you should really update to a newer Automake version. > > I'm afraid that this won't be that easy: > ./automake-1.11.1 # ./configure > Perl 5.006 required--this is on

Re: How to use install-data-local conditionally with automake-1.6.3

2010-01-21 Thread Steffen Dettmer
On Wed, Jan 20, 2010 at 10:20 PM, wrote: > * Steffen wrote here: > > but it does create Makefile (BTW, isn't this a bug?) > Yeah, this is a bug... Ohh this is fixed as least with 1.10: if automake aborts, the old Makefile is preserved and automake is run again on next make. So this error cannot b

Re: How to use install-data-local conditionally with automake-1.6.3

2010-01-21 Thread Steffen Dettmer
On Wed, Jan 20, 2010 at 10:20 PM, wrote: > I agree that it's awkward. autoconf & automake are the best and most powerful build tools I know. It's not too easy to learn but luckily there is free support on mailinglists :-) > A simple way to avoid the warning is to do the install-data-local rule >

Re: How to use install-data-local conditionally with automake-1.6.3

2010-01-20 Thread Ralf Wildenhues
Hi Steffen, * Steffen DETTMER wrote on Wed, Jan 20, 2010 at 11:48:49AM CET: > --->8=== > install-data-local: myinstbase > > uninstall-local: myuninstbase > > myinstbase: > mkdir -p $(DESTDIR)$(prefix) > touch $(DESTD

How to use install-data-local conditionally with automake-1.6.3

2010-01-20 Thread Steffen DETTMER
Hi, I hope I don't ask a FAQ, but I didn't find the answer in the web so I decided to ask here :) If there is a complex installation thing `foo', like extracting some archive: tar xzf $(srcdir)/$(requiredfiles) -C "$(DESTDIR)$(requiredfilesdir)"/FILES and a conditional complex `feature', someon