Module: kamailio Branch: master Commit: d82ab50f97057483ce7ccb524f66d32f2fb4c858 URL: https://github.com/kamailio/kamailio/commit/d82ab50f97057483ce7ccb524f66d32f2fb4c858
Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> Date: 2016-12-13T12:48:07+01:00 Makefile: clean and tags target for the root folder --- Modified: Makefile --- Diff: https://github.com/kamailio/kamailio/commit/d82ab50f97057483ce7ccb524f66d32f2fb4c858.diff Patch: https://github.com/kamailio/kamailio/commit/d82ab50f97057483ce7ccb524f66d32f2fb4c858.patch --- diff --git a/Makefile b/Makefile index ca371a9..f0df1b6 100644 --- a/Makefile +++ b/Makefile @@ -20,6 +20,8 @@ SMODPARAM=modules=$(smodules) endif endif +MKTAGS?=ctags + # forward all named targets %: $(MAKE) -C $(KSR_DIR) $@ $(SMODPARAM) @@ -32,3 +34,16 @@ default: .PHONY: install install: $(MAKE) -C $(KSR_DIR) $@ $(SMODPARAM) + +.PHONY: TAGS +.PHONY: tags +TAGS tags: + $(MKTAGS) --exclude="misc/*" --exclude="test/*" -R . + +# clean everything generated - shortcut on maintainer-clean +.PHONY: pure +clean pure distclean: + @rm -f .*.swp tags TAGS + $(MAKE) -C $(KSR_DIR) $@ + +# _______________________________________________ sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev