Only create wxOSX/Cocoa tags in makeosxtags script

There is no need to handle Carbon port any more, so simplify the script and
just append the Cocoa-specific tags to the main tags file instead of creating
another one.
This commit is contained in:
Vadim Zeitlin 2016-03-20 19:06:01 +01:00
parent f973ebe2d5
commit 1d5694429f

View File

@ -2,20 +2,13 @@
. `dirname $0`/makeunixtags.sh
create_tags osx
osx_port=${1-cocoa}
if [[ $osx_port = carbon ]]; then
ext=cpp
else
ext=mm
fi
ctags --totals --c++-kinds=+px --language-force=c++ \
-f osx_$osx_port.tags \
-a \
-I @misc/scripts/ctags.ignore \
include/wx/osx/core/*.h \
include/wx/osx/core/private/*.h \
include/wx/osx/private/*.h \
include/wx/osx/$osx_port/*.h \
include/wx/osx/$osx_port/private/*.h \
include/wx/osx/cocoa/*.h \
include/wx/osx/cocoa/private/*.h \
src/osx/core/*.cpp \
src/osx/$osx_port/*.$ext
src/osx/cocoa/*.mm