Re: Problem with distribution of bin_SCRIPTS

2007-05-29 Thread Noah Slater

Hey,


Do you know about VPATH builds?


Yes, what an idiot I was not to consider this.


You also made a typo, (s/CLEAN_FILES/CLEANFILES/) but make distcheck
would have revealed this problem too.


Ah yes, it was doing - I wonder how that slipped in there.


I also recommend passing the
`foreign' option to AM_INIT_AUTOMAKE so that you don't have to supply
all these empty files.


Don't worry, the example looks nothing like my package - I only put
all those files there to keep automake quite. Thanks for the tip
though.

Thanks for your help... it's working great now!

Best,

Noah

--
Creativity can be a social contribution, but only in so
far as society is free to use the results. - R. Stallman




Re: Problem with distribution of bin_SCRIPTS

2007-05-29 Thread Daniel Leidert
Am Dienstag, den 29.05.2007, 09:58 +0100 schrieb Noah Slater:

 In my package I would like to generate a script from a source file by
 simply copying it and setting the executable bit. I do not need to
 distribute the script though, only the source.
 
 No matter how hard I try I cannot get automake to work using the
 following set-up:
 
  * The script source is distributed
  * The script is NOT distributed but is generated from the source

I guess then you want to use noinst_SCRIPTS or BUILT_SOURCES instead of
bin_SCRIPTS.

Regards, Daniel