Function: pcmpl-gnu-make-all-targets
pcmpl-gnu-make-all-targets is a byte-compiled function defined in
pcmpl-gnu.el.gz.
Signature
(pcmpl-gnu-make-all-targets MAKEFILE TARGETS)
Documentation
Add to TARGETS the list of target names in MAKEFILE and files it includes.
Return the new list.
Source Code
;; Defined in /usr/src/emacs/lisp/pcmpl-gnu.el.gz
(defun pcmpl-gnu-make-all-targets (makefile targets)
"Add to TARGETS the list of target names in MAKEFILE and files it includes.
Return the new list."
(with-temp-buffer
(with-demoted-errors "Error inserting makefile: %S"
(insert-file-contents makefile))
(let ((filenames (when pcmpl-gnu-makefile-includes (pcmpl-gnu-make-includes))))
(setq targets (pcmpl-gnu-make-targets targets))
(dolist (file filenames)
(when (file-readable-p file)
(setq targets (pcmpl-gnu-make-all-targets file targets))))
))
targets)