|
@@ -21,6 +21,10 @@ endif
|
|
endif
|
|
endif
|
|
|
|
|
|
MKTAGS?=ctags
|
|
MKTAGS?=ctags
|
|
|
|
+EMACS_COMPAT=
|
|
|
|
+ifneq (INSIDE_EMACS,)
|
|
|
|
+EMACS_COMPAT=-e
|
|
|
|
+endif
|
|
|
|
|
|
# forward all named targets
|
|
# forward all named targets
|
|
%:
|
|
%:
|
|
@@ -38,7 +42,7 @@ install:
|
|
.PHONY: TAGS
|
|
.PHONY: TAGS
|
|
.PHONY: tags
|
|
.PHONY: tags
|
|
TAGS tags:
|
|
TAGS tags:
|
|
- $(MKTAGS) --exclude="misc/*" --exclude="test/*" -R .
|
|
|
|
|
|
+ $(MKTAGS) $(EMACS_COMPAT) --exclude="misc/*" --exclude="test/*" -R .
|
|
|
|
|
|
# clean everything generated - shortcut on maintainer-clean
|
|
# clean everything generated - shortcut on maintainer-clean
|
|
.PHONY: pure
|
|
.PHONY: pure
|