On Sep 21, 2005, at 1:46 PM, Daniel Macks wrote:

Currently, DocFiles takes a list of filenames (including shell
globbing), and allows renaming ("DocFiles:foo:bar" installs the file
"foo" from the source dir as "bar" in the doc dir). A fairly common
(in gnome at least) situation is that there is more than one file with
the same name (in different subdirs of the source), for example
ChangeLog and po/ChangeLog; we appear to use ChangeLog.po as a
standard renaming convention for the latter. Anyone object to adding
an implicit renaming mode that does this automatically? For example:

  DocFiles: foo:bar examples/* ChangeLog po/ChangeLog:

would (still) install foo as bar, but po/ChangeLog would automatically
be installed as ChangeLog.po...saves a lot of typing (and typos),
especially in things like gnome-games that has 22 ChangeLog files:)

Sounds good to me.

While we're improving that field, vasi asks for the ability to pass
directory names, so one could pass "examples" and it would be
recursively installed (instead of the more limited "examples/*" that
only does globbing (not recursion) of simple files). Anything else we
need syntax-wise?

Can't think of anything.

  -- Dave



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Fink-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to