s4:build: make it possible to pass down CTAGS_OPTIONS or ETAGS_OPTIONS
authorStefan Metzmacher <metze@samba.org>
Fri, 27 Mar 2009 11:20:09 +0000 (12:20 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 27 Mar 2009 11:20:09 +0000 (12:20 +0100)
metze

source4/build/make/rules.mk

index 55ecf8968bf4963f4b79639528cf5827753872f6..e9f4786d34ccb2cb83a79fda7dbc03669a57b012 100644 (file)
@@ -185,7 +185,8 @@ showflags::
 base_srcdirs = $(srcdir) ../librpc/ ../lib/ ../libcli
 
 etags:
-       etags `find $(base_srcdirs) -name "*.[ch]"`
+       etags $(ETAGS_OPTIONS) `find $(base_srcdirs) -name "*.[ch]"`
 
 ctags:
-       ctags `find $(base_srcdirs) -name "*.[ch]"`
+       ctags $(CTAGS_OPTIONS) `find $(base_srcdirs) -name "*.[ch]"`
+