summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormaxb <maxb@13f79535-47bb-0310-9956-ffa450edef68>2006-03-03 10:26:58 +0000
committermaxb <maxb@13f79535-47bb-0310-9956-ffa450edef68>2006-03-03 10:26:58 +0000
commitd1a528556dbbac5b47ef70d8ce782e38cf3f0a67 (patch)
treebd9ce4c9125f28a51a899422bc9e4119478d354b
parent5bb5ee33be7722ae91bc1c9781ffd8ab23f81ac8 (diff)
downloadlibapr-d1a528556dbbac5b47ef70d8ce782e38cf3f0a67.tar.gz
* build/MakeEtags: Convert to be useful for APR and APR-util as well as HTTPD.
Do not hardcode a specific path to etags, use ETAGS envvar, or search PATH. Update URL to "Exuberant ctags" project home. PR: 22615 git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@382752 13f79535-47bb-0310-9956-ffa450edef68
-rwxr-xr-xbuild/MakeEtags12
1 files changed, 7 insertions, 5 deletions
diff --git a/build/MakeEtags b/build/MakeEtags
index c4e957c97..cf1a48686 100755
--- a/build/MakeEtags
+++ b/build/MakeEtags
@@ -12,22 +12,24 @@
# tag-table-alist with an entry to assure it finds the single ./TAGS
# file from the many source directories. Something along these lines:
# (setq tag-table-alist
-# '(("/home/me/work/httpd-2.0/"
-# . "/home/me/work/httpd-2.0/")
+# '(("/home/me/work/apr-x.y/" . "/home/me/work/apr-x.y/")
+# ("/home/me/work/apr-util-x.y/" . "/home/me/work/apr-util-x.y/")
+# ("/home/me/work/httpd-x.y/" . "/home/me/work/httpd-x.y/")
# ))
# This requires a special version of etags, i.e. the
# one called "Exuberant ctags" available at:
-# http://fly.hiwaay.net/~darren/ctags/
+# http://ctags.sourceforge.net/
# Once that is setup you'll need to point to the
# executable here:
-etags=~/local/bin/etags
+etags=${ETAGS-etags}
# Exuberant etags is necessary since it can ignore some defined symbols
# that obscure the function signatures.
-ignore=AP_DECLARE,AP_DECLARE_NONSTD,__declspec
+ignore=AP_DECLARE,AP_DECLARE_NONSTD,__declspec,APR_DECLARE,APR_DECLARE_NONSTD
+ignore=$ignore,APU_DECLARE,APU_DECLARE_NONSTD
# Create an etags file at the root of the source
# tree, then create symbol links to it from each