mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-15 13:52:16 -08:00
The TAGS rule in src/Makefile.in can fail when etags is missing
This commit is contained in:
parent
4a742b30a9
commit
63cb578d15
1 changed files with 5 additions and 6 deletions
|
|
@ -230,14 +230,13 @@ selfbuild:
|
|||
|
||||
# Make sure to also include *.d files; and match DPP's idiosyncracies
|
||||
# like "@si::foo" and "@(defun si::foo".
|
||||
# This rule is allowed to fail when etags does not exist.
|
||||
TAGS:
|
||||
if which etags ; then \
|
||||
srcfiles=`find $(srcdir)/c/ $(srcdir)/h/ -name '*.[chd]'`; \
|
||||
echo > $@;
|
||||
-srcfiles=`find $(srcdir)/c/ $(srcdir)/h/ -name '*.[chd]'`; \
|
||||
etags --language=c -o $@ $$srcfiles && \
|
||||
etags --language=none -o $@ --append \
|
||||
--regex='/@\([-:*a-zA-z]+\)/\1/' \
|
||||
--regex='/@(defun \([-:*a-zA-z]+\)/\1/' \
|
||||
$$srcfiles; \
|
||||
else \
|
||||
echo > $@; \
|
||||
fi
|
||||
$$srcfiles
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue