Module: kamailio
Branch: master
Commit: d82ab50f97057483ce7ccb524f66d32f2fb4c858
URL:
https://github.com/kamailio/kamailio/commit/d82ab50f97057483ce7ccb524f66d32…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)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/d82ab50f97057483ce7ccb524f66d32…
Patch:
https://github.com/kamailio/kamailio/commit/d82ab50f97057483ce7ccb524f66d32…
---
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) $@
+
+#