help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to use shell builtin command in Makefile?


From: Greg Chicares
Subject: Re: How to use shell builtin command in Makefile?
Date: Wed, 22 Oct 2008 13:37:46 +0000
User-agent: Thunderbird 2.0.0.17 (Windows/20080914)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]