Function: ede-proj-makefile-tags

ede-proj-makefile-tags is a byte-compiled function defined in pmake.el.gz.

Signature

(ede-proj-makefile-tags ARG &rest ARGS)

Implementations

(ede-proj-makefile-tags (THIS ede-proj-project) TARGETS) in `ede/pmake.el'.

Insert into the current location rules to make recursive TAGS files. Argument THIS is the project to create tags for. Argument TARGETS are the targets we should depend on for TAGS.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/ede/pmake.el.gz
;; Tags
(cl-defmethod ede-proj-makefile-tags ((this ede-proj-project) targets)
  "Insert into the current location rules to make recursive TAGS files.
Argument THIS is the project to create tags for.
Argument TARGETS are the targets we should depend on for TAGS."
  (insert "tags: ")
  (let ((tg targets))
    ;; Loop over all source variables and insert them
    (while tg
      (insert "$(" (ede-proj-makefile-sourcevar (car tg)) ") ")
      (setq tg (cdr tg)))
    (insert "\n")
    (if targets
	(insert "\tetags $^\n"))
    ;; Now recurse into all subprojects
    (setq tg (oref this subproj))
    (while tg
      (insert "\t$(MAKE) -C " (ede-subproject-relative-path (car tg)) " $(MFLAGS) $@\n")
      (setq tg (cdr tg)))
    (insert "\n")))