[pacman-dev] makepkg enhancements: globstar and variable expansions in PURGE_TARGETS, MAN_DIRS, etc.

2009-11-12 Thread Ciprian Dorin, Craciun
Hy everybody! While building some custom packages for a stripped down Linux server, I've hit the following problems: * the cause of the problems is from the pact that my packages are each in it's own folder like: /packages/bash--4.0--1, /packages/busybox--1.15.2--1, etc., and thus,

Re: [pacman-dev] makepkg enhancements: globstar and variable expansions in PURGE_TARGETS, MAN_DIRS, etc.

2009-11-13 Thread Allan McRae
Ciprian Dorin, Craciun wrote: Hy everybody! While building some custom packages for a stripped down Linux server, I've hit the following problems: * the cause of the problems is from the pact that my packages are each in it's own folder like: /packages/bash--4.0--1, /packages/busybox

Re: [pacman-dev] makepkg enhancements: globstar and variable expansions in PURGE_TARGETS, MAN_DIRS, etc.

2009-11-14 Thread Ciprian Dorin, Craciun
On Sat, Nov 14, 2009 at 8:44 AM, Allan McRae wrote: > Ciprian Dorin, Craciun wrote: >> >>    Hy everybody! >> >>    While building some custom packages for a stripped down Linux >> server, I've hit the following problems: >>    * the cause of the problems is from the pact that my packages are >> e

Re: [pacman-dev] makepkg enhancements: globstar and variable expansions in PURGE_TARGETS, MAN_DIRS, etc.

2009-11-14 Thread Ciprian Dorin, Craciun
On Sat, Nov 14, 2009 at 10:02 AM, Ciprian Dorin, Craciun wrote: > On Sat, Nov 14, 2009 at 8:44 AM, Allan McRae wrote: >> Ciprian Dorin, Craciun wrote: >>> >>>    Hy everybody! >>> >>>    While building some custom packages for a stripped down Linux >>> server, I've hit the following problems: >>>

Re: [pacman-dev] makepkg enhancements: globstar and variable expansions in PURGE_TARGETS, MAN_DIRS, etc.

2009-11-14 Thread Allan McRae
Ciprian Dorin, Craciun wrote: One quick note. I've tried what you've suggested (`package/*/...`) and it doesn't work (as expected `*` expands before anything is in the current dir). It does not expand it until it actually uses the value in the array. i.e. when it goes to do the man page

Re: [pacman-dev] makepkg enhancements: globstar and variable expansions in PURGE_TARGETS, MAN_DIRS, etc.

2009-11-14 Thread Allan McRae
Ciprian Dorin, Craciun wrote: On Sat, Nov 14, 2009 at 12:40 PM, Allan McRae wrote: Ciprian Dorin, Craciun wrote: One quick note. I've tried what you've suggested (`package/*/...`) and it doesn't work (as expected `*` expands before anything is in the current dir). It does not expand it u

Re: [pacman-dev] makepkg enhancements: globstar and variable expansions in PURGE_TARGETS, MAN_DIRS, etc.

2009-11-14 Thread Ciprian Dorin, Craciun
On Sat, Nov 14, 2009 at 12:40 PM, Allan McRae wrote: > Ciprian Dorin, Craciun wrote: > >> >>    One quick note. I've tried what you've suggested (`package/*/...`) >> and it doesn't work (as expected `*` expands before anything is in the >> current dir). >> > > It does not expand it until it actual

Re: [pacman-dev] makepkg enhancements: globstar and variable expansions in PURGE_TARGETS, MAN_DIRS, etc.

2009-11-14 Thread Ciprian Dorin, Craciun
On Sat, Nov 14, 2009 at 2:15 PM, Allan McRae wrote: > Ciprian Dorin, Craciun wrote: >> >> On Sat, Nov 14, 2009 at 12:40 PM, Allan McRae wrote: >>> >>> Ciprian Dorin, Craciun wrote: >>>   One quick note. I've tried what you've suggested (`package/*/...`) and it doesn't work (as expected

Re: [pacman-dev] makepkg enhancements: globstar and variable expansions in PURGE_TARGETS, MAN_DIRS, etc.

2009-11-14 Thread Allan McRae
Ciprian Dorin, Craciun wrote: Sorry, indeed it works, but, the find invocation is still odd: ++> printf ' -> Compressing man and info pages...\n' -> Compressing man and info pages... ++> local manpage ext file link hardlinks hl ++> read manpage ++> find usr/man usr/info usr/share/man

Re: [pacman-dev] makepkg enhancements: globstar and variable expansions in PURGE_TARGETS, MAN_DIRS, etc.

2009-11-14 Thread Ciprian Dorin, Craciun
On Sat, Nov 14, 2009 at 4:39 PM, Allan McRae wrote: > Ciprian Dorin, Craciun wrote: >> >>    Sorry, indeed it works, but, the find invocation is still odd: >> >> >> ++> printf '  -> Compressing man and info pages...\n' >>  -> Compressing man and info pages... >> ++> local manpage ext file lin

Re: [pacman-dev] makepkg enhancements: globstar and variable expansions in PURGE_TARGETS, MAN_DIRS, etc.

2009-11-14 Thread Allan McRae
Ciprian Dorin, Craciun wrote: On Sat, Nov 14, 2009 at 4:39 PM, Allan McRae wrote: Ciprian Dorin, Craciun wrote: Sorry, indeed it works, but, the find invocation is still odd: ++> printf ' -> Compressing man and info pages...\n' -> Compressing man and info pages... ++> local manpage