mirror of https://github.com/openssl/openssl.git
Call ctags on *.inc files as well
There are some *.inc already in the repository, mostly in demos/tests and related to some algorithm implementations. Introduction of array_alloc.inc has made including these files in the tags generation even more pertinent, so they are included now. Also, this commit explicitly marks *.h files as containing C code, overriding universal-ctags default of interpreting them as C++/ObjectiveC ones. Suggested-by: Neil Horman <nhorman@openssl.org> Signed-off-by: Eugene Syromiatnikov <esyr@openssl.org> Reviewed-by: Saša Nedvědický <sashan@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Paul Dale <ppzgs1@gmail.com> Reviewed-by: Neil Horman <nhorman@openssl.org> (Merged from https://github.com/openssl/openssl/pull/28059)
This commit is contained in:
parent
14737252a1
commit
2c59dc9029
|
@ -0,0 +1,11 @@
|
|||
#
|
||||
# Copyright 2025 The OpenSSL Project Authors. All Rights Reserved.
|
||||
#
|
||||
# Licensed under the Apache License 2.0 (the "License"). You may not use
|
||||
# this file except in compliance with the License. You can obtain a copy
|
||||
# in the file LICENSE in the source distribution or at
|
||||
# https://www.openssl.org/source/license.html
|
||||
#
|
||||
|
||||
--langmap=C:+.h
|
||||
--langmap=C:+.inc
|
|
@ -1422,7 +1422,7 @@ test_ordinals:
|
|||
tags TAGS: FORCE build_generated
|
||||
rm -f TAGS tags
|
||||
-( cd $(SRCDIR); util/ctags.sh )
|
||||
-etags `find . -name '*.[ch]' -o -name '*.pm'`
|
||||
-etags `find . -name '*.[ch]' -o -name '*.pm' -o -name '*.inc'`
|
||||
|
||||
providers/fips.checksum.new: providers/fips.module.sources.new
|
||||
@which unifdef > /dev/null || \
|
||||
|
|
Loading…
Reference in New Issue