From 1d5694429f8d2305c039aee9daecc1394dcedec2 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 20 Mar 2016 19:06:01 +0100 Subject: [PATCH] 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. --- misc/scripts/makeosxtags.sh | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/misc/scripts/makeosxtags.sh b/misc/scripts/makeosxtags.sh index 21ed989300..7c25b5c32a 100755 --- a/misc/scripts/makeosxtags.sh +++ b/misc/scripts/makeosxtags.sh @@ -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