Makefile: Remove shell brace expansion in ctags target.

This doesn't work on dash, the default shell on Debian.

Closes #110

Signed-off-by: Chris PeBenito <pebenito@ieee.org>
This commit is contained in:
Chris PeBenito 2020-04-01 15:00:02 -04:00
parent eff4494519
commit d38afda010

View File

@ -573,7 +573,7 @@ install-src:
#
# Generate tags file
#
tags: $(tags)
ctags: $(tags)
$(tags):
@($(CTAGS) --version | grep -q Exuberant) || (echo ERROR: Need exuberant-ctags to function!; exit 1)
@LC_ALL=C $(CTAGS) -f $(tags) --langdef=te --langmap=te:..te.if.spt \
@ -583,7 +583,8 @@ $(tags):
--regex-te='/^[ \t]*define\(`(\w+)/\1/d,define/' \
--regex-te='/^[ \t]*interface\(`(\w+)/\1/i,interface/' \
--regex-te='/^[ \t]*template\(`(\w+)/\1/i,template/' \
--regex-te='/^[ \t]*bool[ \t]+(\w+)/\1/b,bool/' policy/modules/*/*.{if,te} policy/support/*.spt
--regex-te='/^[ \t]*bool[ \t]+(\w+)/\1/b,bool/' \
policy/modules/*/*.if policy/modules/*/*.te policy/support/*.spt
########################################
#