Function: ede-proj-makefile-garbage-patterns
ede-proj-makefile-garbage-patterns is a byte-compiled function defined
in pmake.el.gz.
Signature
(ede-proj-makefile-garbage-patterns ARG &rest ARGS)
Implementations
(ede-proj-makefile-garbage-patterns (THIS ede-proj-target-makefile-archive)) in `ede/proj-archive.el'.
Add archive name to the garbage patterns. This makes sure that the archive is removed with `make clean'.
(ede-proj-makefile-garbage-patterns (THIS ede-proj-target)) in `ede/pmake.el'.
Return a list of patterns that are considered garbage to THIS. These are removed with make clean.
(ede-proj-makefile-garbage-patterns (THIS ede-proj-project)) in `ede/pmake.el'.
Return a list of patterns that are considered garbage to THIS. These are removed with make clean.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/ede/pmake.el.gz
;;; GARBAGE PATTERNS
;;
(cl-defmethod ede-proj-makefile-garbage-patterns ((this ede-proj-project))
"Return a list of patterns that are considered garbage to THIS.
These are removed with make clean."
(let ((mc (ede-map-targets
this #'ede-proj-makefile-garbage-patterns))
(uniq nil))
(setq mc (sort (apply #'append mc) #'string<))
;; Filter out duplicates from the targets.
(while mc
(if (and (car uniq) (string= (car uniq) (car mc)))
nil
(setq uniq (cons (car mc) uniq)))
(setq mc (cdr mc)))
(nreverse uniq)))