Commit 0dcb780a authored by Kirill Tkhai's avatar Kirill Tkhai Committed by Andrei Vagin

utils: Add "test/zdtm/lib" directory definitions to tags file

Signed-off-by: 's avatarKirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
parent beda0983
...@@ -299,22 +299,23 @@ criu-$(tar-name).tar.bz2: ...@@ -299,22 +299,23 @@ criu-$(tar-name).tar.bz2:
dist tar: criu-$(tar-name).tar.bz2 ; dist tar: criu-$(tar-name).tar.bz2 ;
.PHONY: dist tar .PHONY: dist tar
TAGS_FILES_REGEXP := . -name '*.[hcS]' ! -path './.*' \( ! -path './test/*' -o -path './test/zdtm/lib/*' \)
tags: tags:
$(call msg-gen, $@) $(call msg-gen, $@)
$(Q) $(RM) tags $(Q) $(RM) tags
$(Q) $(FIND) . -name '*.[hcS]' ! -path './.*' ! -path './test/*' -print | xargs $(CTAGS) -a $(Q) $(FIND) $(TAGS_FILES_REGEXP) -print | xargs $(CTAGS) -a
.PHONY: tags .PHONY: tags
etags: etags:
$(call msg-gen, $@) $(call msg-gen, $@)
$(Q) $(RM) TAGS $(Q) $(RM) TAGS
$(Q) $(FIND) . -name '*.[hcS]' ! -path './.*' ! -path './test/*' -print | xargs $(ETAGS) -a $(Q) $(FIND) $(TAGS_FILES_REGEXP) -print | xargs $(ETAGS) -a
.PHONY: etags .PHONY: etags
cscope: cscope:
$(call msg-gen, $@) $(call msg-gen, $@)
$(Q) $(FIND) . -name '*.[hcS]' ! -path './.*' ! -path './test/*' ! -type l -print > cscope.files $(Q) $(FIND) $(TAGS_FILES_REGEXP) ! -type l -print > cscope.files
$(Q) $(CSCOPE) -bkqu $(Q) $(CSCOPE) -bkqu
.PHONY: cscope .PHONY: cscope
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment