On 2008-10-22 12:57Z, Peng Yu wrote:
> 
> SUBDIRS = $(shell compgen -d -X 'backup' -X 'bash')
> 
> But make gives me "make: compgen: Command not found". I'm wondering
> how to use shell builtin command in make.

'compgen' is specific to 'bash'; have you set $(SHELL) accordingly?

http://www.gnu.org/software/automake/manual/make/Choosing-the-Shell.html


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to