New upstream snapshot.
Debian Janitor
1 year, 3 months ago
15 | 15 | LOAD_PATH ?= $(addprefix -L ../,$(DEPS)) |
16 | 16 | LOAD_PATH += -L . |
17 | 17 | |
18 | PREFIX ?= /usr/local | |
19 | ||
20 | 18 | all: lisp |
21 | 19 | |
22 | 20 | help: |
23 | 21 | $(info make all - generate byte-code and autoloads) |
24 | 22 | $(info make lisp - generate byte-code and autoloads) |
25 | 23 | $(info make clean - remove generated files) |
26 | $(info make install - install in $(PREFIX)) | |
27 | 24 | @printf "\n" |
28 | 25 | |
29 | lisp: $(ELCS) loaddefs | |
26 | lisp: $(ELCS) loaddefs check-declare | |
30 | 27 | |
31 | 28 | loaddefs: $(PKG)-autoloads.el |
32 | 29 | |
34 | 31 | @printf "Compiling $<\n" |
35 | 32 | @$(EMACS) -Q --batch $(EMACS_ARGS) $(LOAD_PATH) -f batch-byte-compile $< |
36 | 33 | |
34 | check-declare: | |
35 | @printf " Checking function declarations\n" | |
36 | @$(EMACS) -Q --batch $(EMACS_ARGS) $(LOAD_PATH) \ | |
37 | --eval "(check-declare-directory default-directory)" | |
38 | ||
37 | 39 | CLEAN = $(ELCS) $(PKG)-autoloads.el |
38 | 40 | |
39 | 41 | clean: |
40 | @printf "Cleaning...\n" | |
42 | @printf " Cleaning...\n" | |
41 | 43 | @rm -rf $(CLEAN) |
42 | 44 | |
43 | define LOADDEFS_TMPL | |
44 | ;;; $(PKG)-autoloads.el --- automatically extracted autoloads | |
45 | ;; | |
46 | ;;; Code: | |
47 | (add-to-list 'load-path (directory-file-name \ | |
48 | (or (file-name-directory #$$) (car load-path)))) | |
49 | ||
50 | ;; Local Variables: | |
51 | ;; version-control: never | |
52 | ;; no-byte-compile: t | |
53 | ;; no-update-autoloads: t | |
54 | ;; End: | |
55 | ;;; $(PKG)-autoloads.el ends here | |
56 | endef | |
57 | export LOADDEFS_TMPL | |
58 | #' | |
59 | ||
60 | 45 | $(PKG)-autoloads.el: $(ELS) |
61 | @printf "Generating $@\n" | |
62 | @printf "%s" "$$LOADDEFS_TMPL" > $@ | |
63 | @$(EMACS) -Q --batch --eval "(progn\ | |
64 | (setq make-backup-files nil)\ | |
65 | (setq vc-handled-backends nil)\ | |
66 | (setq default-directory (file-truename default-directory))\ | |
67 | (setq generated-autoload-file (expand-file-name \"$@\"))\ | |
68 | (setq find-file-visit-truename t)\ | |
69 | (update-directory-autoloads default-directory))" | |
70 | ||
71 | CP ?= install -p -m 644 | |
72 | MKDIR ?= install -p -m 755 -d | |
73 | LISPDIR ?= $(PREFIX)/share/emacs/site-lisp/git-modes | |
74 | ||
75 | .PHONY: install | |
76 | install: lisp | |
77 | @printf "Installing...\n" | |
78 | @$(MKDIR) $(DESTDIR)$(LISPDIR) | |
79 | @$(CP) $(ELS) $(ELCS) $(DESTDIR)$(LISPDIR) | |
46 | @printf " Creating $@\n" | |
47 | @$(EMACS) -Q --batch -l autoload -l cl-lib --eval "\ | |
48 | (let ((file (expand-file-name \"$@\"))\ | |
49 | (autoload-timestamps nil) \ | |
50 | (backup-inhibited t)\ | |
51 | (version-control 'never)\ | |
52 | (coding-system-for-write 'utf-8-emacs-unix))\ | |
53 | (write-region (autoload-rubric file \"package\" nil) nil file nil 'silent)\ | |
54 | (cl-letf (((symbol-function 'progress-reporter-do-update) (lambda (&rest _)))\ | |
55 | ((symbol-function 'progress-reporter-done) (lambda (_))))\ | |
56 | (let ((generated-autoload-file file))\ | |
57 | (update-directory-autoloads default-directory))))" \ | |
58 | 2>&1 | sed "/^Package autoload is deprecated$$/d" |
0 | Git Config Modes | |
1 | ================ | |
2 | ||
3 | Emacs major modes for various Git configuration files. | |
4 | ||
5 | The list of contributors can be found | |
6 | [here](https://github.com/magit/git-modes/graphs/contributors). | |
7 | ||
8 | The following libraries are part of the `git-modes` package, which | |
9 | is available from NonGNU ELPA as well as from Melpa. | |
10 | ||
11 | `gitattributes-mode` | |
12 | -------------------- | |
13 | ||
14 | Auto-/loading the library `gitattributes-mode` enabled the mode for | |
15 | `.gitattributes`, `.git/info/attributes`, and `git/attributes` files. | |
16 | ||
17 | `gitconfig-mode` | |
18 | ---------------- | |
19 | ||
20 | Auto-/loading the library `gitconfig-mode` enables the mode for | |
21 | `.gitconfig`, `.git/config`, `git/config`, and `.gitmodules` files. | |
22 | ||
23 | `gitconfig-mode` derives from `conf-unix-mode`. | |
24 | ||
25 | `gitignore-mode` | |
26 | ---------------- | |
27 | ||
28 | Auto-/loading the library `gitignore-mode` enables the mode for | |
29 | `.gitignore`, `.git/info/exclude`, and `git/ignore` files. | |
30 | ||
31 | `gitignore-mode` derives from `conf-unix-mode`. | |
32 | ||
33 | This mode may be of use in other files that don't have anything to do | |
34 | with Git, for example: | |
35 | ||
36 | ```lisp | |
37 | (add-to-list 'auto-mode-alist | |
38 | (cons "/.dockerignore\\'" 'gitignore-mode)) | |
39 | ``` |
0 | * Git Config Modes | |
1 | ||
2 | Emacs major modes for various Git configuration files. | |
3 | ||
4 | The list of contributors can be found [[https://github.com/magit/git-modes/graphs/contributors][here]]. | |
5 | ||
6 | The following libraries are part of the ~git-modes~ package, which | |
7 | is available from NonGNU ELPA as well as from Melpa. | |
8 | ||
9 | ** ~gitattributes-mode~ | |
10 | ||
11 | Auto-/loading the library ~gitattributes-mode~ enabled the mode for | |
12 | ~.gitattributes~, ~.git/info/attributes~, and ~git/attributes~ files. | |
13 | ||
14 | ** ~gitconfig-mode~ | |
15 | ||
16 | Auto-/loading the library ~gitconfig-mode~ enables the mode for | |
17 | ~.gitconfig~, ~.git/config~, ~git/config~, and ~.gitmodules~ files. | |
18 | ||
19 | ~gitconfig-mode~ derives from ~conf-unix-mode~. | |
20 | ||
21 | ** ~gitignore-mode~ | |
22 | ||
23 | Auto-/loading the library ~gitignore-mode~ enables the mode for | |
24 | ~.gitignore~, ~.git/info/exclude~, and ~git/ignore~ files. | |
25 | ||
26 | ~gitignore-mode~ derives from ~conf-unix-mode~. | |
27 | ||
28 | This mode may be of use in other files that don't have anything | |
29 | to do with Git, for example: | |
30 | ||
31 | #+begin_src emacs-lisp | |
32 | (add-to-list 'auto-mode-alist | |
33 | (cons "/.dockerignore\\'" 'gitignore-mode)) | |
34 | #+end_src | |
35 | ||
36 | #+html: <br><br> | |
37 | #+html: <a href="https://github.com/magit/git-modes/actions/workflows/compile.yml"><img alt="Compile" src="https://github.com/magit/git-modes/actions/workflows/compile.yml/badge.svg"/></a> | |
38 | #+html: <a href="https://elpa.nongnu.org/nongnu/git-modes.html"><img alt="NonGNU ELPA" src="https://elpa.nongnu.org/nongnu/git-modes.svg"/></a> | |
39 | #+html: <a href="https://stable.melpa.org/#/git-modes"><img alt="MELPA Stable" src="https://stable.melpa.org/packages/git-modes-badge.svg"/></a> | |
40 | #+html: <a href="https://melpa.org/#/git-modes"><img alt="MELPA" src="https://melpa.org/packages/git-modes-badge.svg"/></a> |
0 | emacs-git-modes (1.4.0+git20230116.1.1533b38-1) UNRELEASED; urgency=low | |
1 | ||
2 | * New upstream snapshot. | |
3 | ||
4 | -- Debian Janitor <janitor@jelmer.uk> Sun, 22 Jan 2023 00:13:17 -0000 | |
5 | ||
0 | 6 | emacs-git-modes (1.4.0-1) unstable; urgency=medium |
1 | 7 | |
2 | 8 | * New upstream version 1.4.0 |
0 | ;;; git-modes.el --- Major modes for editing Git configuration files -*- lexical-binding: t -*- | |
0 | ;;; git-modes.el --- Major modes for editing Git configuration files -*- lexical-binding:t -*- | |
1 | 1 | |
2 | ;; Copyright (c) 2012-2013 Sebastian Wiesner | |
3 | ;; Copyright (C) 2013-2015 Rüdiger Sonderfeld | |
4 | ;; Copyright (C) 2012-2021 The Magit Project Contributors | |
2 | ;; Copyright (c) 2012-2013 Sebastian Wiesner | |
3 | ;; Copyright (C) 2013-2015 Rüdiger Sonderfeld | |
4 | ;; Copyright (C) 2012-2023 The Magit Project Contributors | |
5 | 5 | |
6 | 6 | ;; Author: Sebastian Wiesner <lunaryorn@gmail.com> |
7 | 7 | ;; Rüdiger Sonderfeld <ruediger@c-plusplus.net> |
9 | 9 | ;; Maintainer: Jonas Bernoulli <jonas@bernoul.li> |
10 | 10 | ;; Homepage: https://github.com/magit/git-modes |
11 | 11 | ;; Keywords: convenience vc git |
12 | ;; Package-Requires: ((emacs "24.3")) | |
13 | ;; Package-Version: 1.4.0 | |
12 | ||
13 | ;; Package-Version: 1.4.0.50-git | |
14 | ;; Package-Requires: ((emacs "25.1")) | |
15 | ||
14 | 16 | ;; SPDX-License-Identifier: GPL-3.0-or-later |
15 | 17 | |
16 | ;; This file is free software; you can redistribute it and/or modify | |
18 | ;; This file is free software: you can redistribute it and/or modify | |
17 | 19 | ;; it under the terms of the GNU General Public License as published |
18 | ;; by the Free Software Foundation; either version 3 of the License, | |
20 | ;; by the Free Software Foundation, either version 3 of the License, | |
19 | 21 | ;; or (at your option) any later version. |
20 | ||
22 | ;; | |
21 | 23 | ;; This file is distributed in the hope that it will be useful, |
22 | 24 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of |
23 | 25 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
24 | 26 | ;; GNU General Public License for more details. |
25 | ||
27 | ;; | |
26 | 28 | ;; You should have received a copy of the GNU General Public License |
27 | ;; along with this file. If not, see <http://www.gnu.org/licenses/>. | |
29 | ;; along with this file. If not, see <https://www.gnu.org/licenses/>. | |
28 | 30 | |
29 | 31 | ;;; Commentary: |
30 | 32 |
0 | ;;; gitattributes-mode.el --- Major mode for editing .gitattributes files -*- lexical-binding: t -*- | |
1 | ||
2 | ;; Copyright (C) 2013-2015 Rüdiger Sonderfeld | |
3 | ;; Copyright (C) 2013-2021 The Magit Project Contributors | |
0 | ;;; gitattributes-mode.el --- Major mode for editing .gitattributes files -*- lexical-binding:t -*- | |
1 | ||
2 | ;; Copyright (C) 2013-2015 Rüdiger Sonderfeld | |
3 | ;; Copyright (C) 2013-2023 The Magit Project Contributors | |
4 | 4 | |
5 | 5 | ;; Author: Rüdiger Sonderfeld <ruediger@c-plusplus.net> |
6 | 6 | ;; Maintainer: Jonas Bernoulli <jonas@bernoul.li> |
7 | 7 | ;; Homepage: https://github.com/magit/git-modes |
8 | 8 | ;; Keywords: convenience vc git |
9 | ||
9 | 10 | ;; SPDX-License-Identifier: GPL-3.0-or-later |
10 | 11 | |
11 | ;; This file is free software; you can redistribute it and/or modify | |
12 | ;; This file is free software: you can redistribute it and/or modify | |
12 | 13 | ;; it under the terms of the GNU General Public License as published |
13 | ;; by the Free Software Foundation; either version 3 of the License, | |
14 | ;; by the Free Software Foundation, either version 3 of the License, | |
14 | 15 | ;; or (at your option) any later version. |
15 | ||
16 | ;; | |
16 | 17 | ;; This file is distributed in the hope that it will be useful, |
17 | 18 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of |
18 | 19 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
19 | 20 | ;; GNU General Public License for more details. |
20 | ||
21 | ;; | |
21 | 22 | ;; You should have received a copy of the GNU General Public License |
22 | ;; along with this file. If not, see <http://www.gnu.org/licenses/>. | |
23 | ;; along with this file. If not, see <https://www.gnu.org/licenses/>. | |
23 | 24 | |
24 | 25 | ;;; Commentary: |
25 | 26 |
0 | ;;; gitconfig-mode.el --- Major mode for editing .gitconfig files -*- lexical-binding: t -*- | |
0 | ;;; gitconfig-mode.el --- Major mode for editing .gitconfig files -*- lexical-binding:t -*- | |
1 | 1 | |
2 | ;; Copyright (c) 2012-2013 Sebastian Wiesner | |
3 | ;; Copyright (C) 2012-2021 The Magit Project Contributors | |
2 | ;; Copyright (c) 2012-2013 Sebastian Wiesner | |
3 | ;; Copyright (C) 2012-2023 The Magit Project Contributors | |
4 | 4 | |
5 | 5 | ;; Author: Sebastian Wiesner <lunaryorn@gmail.com> |
6 | 6 | ;; Maintainer: Jonas Bernoulli <jonas@bernoul.li> |
7 | 7 | ;; Homepage: https://github.com/magit/git-modes |
8 | 8 | ;; Keywords: convenience vc git |
9 | ||
9 | 10 | ;; SPDX-License-Identifier: GPL-3.0-or-later |
10 | 11 | |
11 | ;; This file is free software; you can redistribute it and/or modify | |
12 | ;; This file is free software: you can redistribute it and/or modify | |
12 | 13 | ;; it under the terms of the GNU General Public License as published |
13 | ;; by the Free Software Foundation; either version 3 of the License, | |
14 | ;; by the Free Software Foundation, either version 3 of the License, | |
14 | 15 | ;; or (at your option) any later version. |
15 | ||
16 | ;; | |
16 | 17 | ;; This file is distributed in the hope that it will be useful, |
17 | 18 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of |
18 | 19 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
19 | 20 | ;; GNU General Public License for more details. |
20 | ||
21 | ;; | |
21 | 22 | ;; You should have received a copy of the GNU General Public License |
22 | ;; along with this file. If not, see <http://www.gnu.org/licenses/>. | |
23 | ;; along with this file. If not, see <https://www.gnu.org/licenses/>. | |
23 | 24 | |
24 | 25 | ;;; Commentary: |
25 | 26 |
0 | ;;; gitignore-mode.el --- Major mode for editing .gitignore files -*- lexical-binding: t -*- | |
0 | ;;; gitignore-mode.el --- Major mode for editing .gitignore files -*- lexical-binding:t -*- | |
1 | 1 | |
2 | ;; Copyright (c) 2012-2013 Sebastian Wiesner | |
3 | ;; Copyright (C) 2012-2021 The Magit Project Contributors | |
2 | ;; Copyright (c) 2012-2013 Sebastian Wiesner | |
3 | ;; Copyright (C) 2012-2023 The Magit Project Contributors | |
4 | 4 | |
5 | 5 | ;; Author: Sebastian Wiesner <lunaryorn@gmail.com> |
6 | 6 | ;; Maintainer: Jonas Bernoulli <jonas@bernoul.li> |
7 | 7 | ;; Homepage: https://github.com/magit/git-modes |
8 | 8 | ;; Keywords: convenience vc git |
9 | ||
9 | 10 | ;; SPDX-License-Identifier: GPL-3.0-or-later |
10 | 11 | |
11 | ;; This file is free software; you can redistribute it and/or modify | |
12 | ;; This file is free software: you can redistribute it and/or modify | |
12 | 13 | ;; it under the terms of the GNU General Public License as published |
13 | ;; by the Free Software Foundation; either version 3 of the License, | |
14 | ;; by the Free Software Foundation, either version 3 of the License, | |
14 | 15 | ;; or (at your option) any later version. |
15 | ||
16 | ;; | |
16 | 17 | ;; This file is distributed in the hope that it will be useful, |
17 | 18 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of |
18 | 19 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
19 | 20 | ;; GNU General Public License for more details. |
20 | ||
21 | ;; | |
21 | 22 | ;; You should have received a copy of the GNU General Public License |
22 | ;; along with this file. If not, see <http://www.gnu.org/licenses/>. | |
23 | ;; along with this file. If not, see <https://www.gnu.org/licenses/>. | |
23 | 24 | |
24 | 25 | ;;; Commentary: |
25 | 26 |