Egbert Eich <[EMAIL PROTECTED]> writes: > Alexander Pohoyda writes: > > I am unable to find a template to create a rule to install files from > > a directory which does not have a makefile itself. > > I need to process some files matching a mask (e.g. somedir/*.xpm) > > without having to list them all in a makefile. > > > > There is an InstallMultiple(list,dest) macro, but it takes a file list > > as an argument, so that's exactly what I want to avoid. > > > > I believe that this is quite a general task, so I dare to propose a > > new template. Please see the attached patch. I would appreciate any > > ideas about this patch or maybe there are good reasons not to have > > such a template? Better ways to do this? > > I've looked all over the X sources and I was not able to find a case > where we don't supply a list. However have you tried to use > somedir/*.xpm in InstallMultiple()? InstallMultiple() > does a > for i in $LIST; do... > > if $LIST gets replaced by somedir/*.xpm it should do what you have in > mind.
Yes, I have tried this. No, it does not do what I need. Maybe it's shell specific, but it does definitely not work in bash 2.05. I can easily work around this problem including small.tmpl file with a software, however it is strange that nobody needed such a feature before. Thank you very much for your reply anyway! -- Alexander Pohoyda <[EMAIL PROTECTED]> _______________________________________________ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel