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

source3/Makefile.in

index fd753128d4c31070053ad820b2d1ed6f853e0459..18ee7fec1cac1d37c8757b6c4f1adf1411d02140 100644 (file)
@@ -2906,10 +2906,10 @@ include/build_env.h: script/build_env.sh
 proto::
 
 etags::
-       find $(srcdir)/.. -name "*.[ch]" | xargs -n 100 etags --append
+       find $(srcdir)/.. -name "*.[ch]" | xargs -n 100 etags --append $(ETAGS_OPTIONS)
 
 ctags::
-       ctags `find $(srcdir)/.. -name "*.[ch]" | grep -v include/proto\.h`
+       ctags $(CTAGS_OPTIONS) `find $(srcdir)/.. -name "*.[ch]" | grep -v include/proto\.h`
 
 realclean:: clean
        -rm -f config.log bin/.dummy script/findsmb script/gen-8bit-gap.sh