AC_LIBOBJ(subdir/file) doesn't work with non-recursive automake

2006-04-22 Thread Russ Allbery
I originally submitted this as a Debian bug, but it's more relevant here. I'm using Automake with a package that has its source in various subdirectories but builds the whole package with a single non-recursive Makefile, as mentioned in the Automake manual under Directories / Alternative. Everyth

Re: dynamic dist?

2006-04-22 Thread Ralf Wildenhues
Hi Tyler, Tyler MacDonald writes: OK, so I might need something more portable than cpio... but the "\s.*" part does serve a purpose; the MANIFEST file format allows for a description of the file after whitespace. I guess I could do "[ \t]" or something else instead of the \s. Ah, I d

Re: dynamic dist?

2006-04-22 Thread Tyler MacDonald
Ralf Wildenhues <[EMAIL PROTECTED]> wrote: > > Is this portable (enough)? I'm thinking of turning it into a general > > automake macro so you can just do something like: > > > > dist_MANIFESTS = foo/MANIFEST bar/MANIFEST > Hmm. First, I think you can just drop the > -e "s,\s.*$$,," > > par

Re: dynamic dist?

2006-04-22 Thread Ralf Wildenhues
Hi Tyler, * Tyler MacDonald wrote on Thu, Apr 20, 2006 at 11:53:55PM CEST: > Tyler MacDonald <[EMAIL PROTECTED]> wrote: > > > > noinst_DATA = `cat Net-BitTorrent-LibBTT/MANIFEST` > dist-hook: > (sed -e "s,^,Net-BitTorrent-LibBTT/," -e "s,\s.*$$,," < \ > Net-BitTorrent-LibBTT/

Re: mkdir -p -- minor cleanup

2006-04-22 Thread Ralf Wildenhues
* Stepan Kasal wrote on Wed, Apr 19, 2006 at 01:08:57PM CEST: > > And $(mkdir_p) cannot be used with an option anyway. It was already noted that `-m MODE' is understood by mkdir, by install_sh, and by mkinstalldirs (the latter would not be used any more, I'm just noting it here). However, we can