]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix annoying warning when running the script to generate tags under OS X.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 4 Nov 2012 23:51:13 +0000 (23:51 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 4 Nov 2012 23:51:13 +0000 (23:51 +0000)
It complained about no matches for src/osx/cocoa/*.cpp.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

misc/scripts/makeosxtags.sh

index dcb72f4768144ffa4eed5bfa101d8826fdff4b6a..1509eec6f9f5745ede86fba77c5141ad7d780ec4 100755 (executable)
@@ -3,6 +3,12 @@
 create_tags osx
 
 osx_port=${1-carbon}
+if [[ $osx_port = carbon ]]; then
+    ext=cpp
+else
+    ext=mm
+fi
+
 ctags --totals --c++-kinds=+px --language-force=c++ \
     -f osx_$osx_port.tags \
     -I @misc/scripts/ctags.ignore \
@@ -12,4 +18,4 @@ ctags --totals --c++-kinds=+px --language-force=c++ \
     include/wx/osx/$osx_port/*.h \
     include/wx/osx/$osx_port/private/*.h \
     src/osx/core/*.cpp \
-    src/osx/$osx_port/*.{cpp,mm}
+    src/osx/$osx_port/*.$ext