help-make
[Top][All Lists]
Advanced

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

How to use shell builtin command in Makefile?


From: Peng Yu
Subject: How to use shell builtin command in Makefile?
Date: Wed, 22 Oct 2008 07:57:55 -0500

Hi,

I want to use the uncommented line rather than the commented line.

#SUBDIRS = $(shell find . -mindepth 1 -maxdepth 1 -type d ! -name
'backup' ! -name 'bash')
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.


Thanks,
Peng




reply via email to

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