[Top][All Lists]
[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
- How to use shell builtin command in Makefile?,
Peng Yu <=
Re: How to use shell builtin command in Makefile?, Greg Chicares, 2008/10/22
Re: How to use shell builtin command in Makefile?, Paul Smith, 2008/10/22