diff options
| author | Frank Fischer <frank-fischer@shadow-soft.de> | 2015-04-08 11:45:59 +0200 |
|---|---|---|
| committer | Frank Fischer <frank-fischer@shadow-soft.de> | 2015-04-08 11:45:59 +0200 |
| commit | 7ef1a2e2bb33a9c05694ea69c02179d9abbc213f (patch) | |
| tree | 59e11e3b1f71e606a869aaf4444fedef10543837 /Makefile | |
| parent | 92292bc8e4a1c2c024c42b7b2a9b6749c56b6b10 (diff) | |
add `evilupdate.el` script
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 20 |
1 files changed, 1 insertions, 19 deletions
@@ -112,24 +112,6 @@ elpa: # Change the version using make VERSION=x.y.z version: - $(EMACS) --batch --eval '(setq vc-handled-backends nil)' ${FILES} evil-tests.el -Q \ ---eval "\ -(progn \ - (find-file \"evil-vars.el\") \ - (when (re-search-forward \"^(defconst evil-version \\\"\\\\([-_.[:word:]]*\\\\)\\\"\" nil t) \ - (replace-match \"${VERSION}\" t t nil 1)) \ - (find-file \"evil-pkg.el\") \ - (goto-line 3) \ - (when (and (string-match-p \"[[:digit:]]+\\.[[:digit:]]+\\.[[:digit:]]+\" \"${VERSION}\") \ - (re-search-forward \"\\\"\\\\([-_.[:word:]]*\\\\)\\\"\" nil t)) \ - (replace-match \"${VERSION}\" t t nil 1)) \ - (dolist (buffer (reverse (buffer-list))) \ - (when (buffer-file-name buffer) \ - (set-buffer buffer) \ - (goto-char (point-min)) \ - (when (re-search-forward \"^;;[[:space:]]*Version:[[:space:]]*\\\\([-_.[:word:]]*\\\\)\" nil t) \ - (replace-match \"${VERSION}\" t t nil 1)) \ - (when (buffer-modified-p) (save-buffer 0))))) \ -" + @$(EMACS) --script scripts/evilupdate "${VERSION}" |
