[sr-dev] git:master:d82ab50f: Makefile: clean and tags target for the root folder

Daniel-Constantin Mierla miconda at gmail.com
Tue Dec 13 12:48:53 CET 2016


Module: kamailio
Branch: master
Commit: d82ab50f97057483ce7ccb524f66d32f2fb4c858
URL: https://github.com/kamailio/kamailio/commit/d82ab50f97057483ce7ccb524f66d32f2fb4c858

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at 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) $@
+
+#




More information about the sr-dev mailing list