X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=emacs%2Fmake-deps.el;h=dcac319ce282c35bce12ce0451104bdc32bb0312;hb=09f6533c3781b61ea634790d4bad38aadf89115c;hp=a1cd731fb08e46aa924a4559bcbf5afa35d16377;hpb=68720286ebc5bf53c2b89a3486b7fcd691443783;p=notmuch diff --git a/emacs/make-deps.el b/emacs/make-deps.el index a1cd731f..dcac319c 100644 --- a/emacs/make-deps.el +++ b/emacs/make-deps.el @@ -15,13 +15,14 @@ ;; General Public License for more details. ;; ;; You should have received a copy of the GNU General Public License -;; along with Notmuch. If not, see . +;; along with Notmuch. If not, see . ;; ;; Authors: Austin Clements +;;; Code: + (defun batch-make-deps () "Invoke `make-deps' for each file on the command line." - (setq debug-on-error t) (dolist (file command-line-args-left) (let ((default-directory command-line-default-directory)) @@ -35,7 +36,6 @@ This prints make dependencies to `standard-output' based on the top-level `require' expressions in the current buffer. Paths in rules will be given relative to DIR, or `default-directory'." - (setq dir (or dir default-directory)) (save-excursion (goto-char (point-min)) @@ -64,3 +64,5 @@ rules will be given relative to DIR, or `default-directory'." (file-name-sans-extension (file-relative-name fname dir))))))))) (end-of-file nil)))) + +;;; make-deps.el ends here