Le 19 nov. 07 à 06:26, Akim Demaille a écrit :
I would like to work a bit on the install targets
The first thing I would like to do is to factor the calls to install, using "install FILES... DIR". One problem is nobase_. I see several means to cope with it: - Don't try to factor calls to install with nobase_* - Add a special --nobase flag to install-sh and use it blindly for nobase_*. - Sort and filter the files to install in nobase_*. I guess that in a first step, I would grep the files that do not have a slash, and make one call for them, then sort the remain files to group them per directory and then make one call for each set. This should be simple using xargs, but I'm unsure about xargs' portability. Any clue?