aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 13 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index b8d9fe6..345dcf0 100644
--- a/Makefile
+++ b/Makefile
@@ -4,9 +4,10 @@ EMACS = emacs
# Rely on EMACSLOADPATH for everything but the current directory.
BATCH = $(EMACS) --batch -Q -L . -L tests
-EL = piem.el piem-b4.el piem-elfeed.el piem-eww.el piem-gnus.el \
- piem-lei.el piem-maildir.el piem-notmuch.el piem-rmail.el \
- tests/piem-lei-tests.el tests/piem-rmail-tests.el tests/piem-tests.el
+EL = piem.el piem-b4.el piem-debbugs.el piem-elfeed.el piem-eww.el \
+ piem-gnus.el piem-lei.el piem-maildir.el piem-notmuch.el \
+ piem-rmail.el tests/piem-lei-tests.el tests/piem-rmail-tests.el \
+ tests/piem-tests.el
ELC = $(EL:.el=.elc)
all: compile Documentation/piem.info piem-autoloads.el
@@ -33,6 +34,7 @@ docs: Documentation/piem.html Documentation/piem.info
piem-b4.elc: piem-b4.el piem.elc
piem-elfeed.elc: piem-elfeed.el piem.elc
+piem-debbugs.elc: piem-debbugs.el piem.elc
piem-eww.elc: piem-eww.el piem.elc
piem-gnus.elc: piem-gnus.el piem.elc
piem-lei.elc: piem-lei.el piem.elc
@@ -55,3 +57,11 @@ tests/piem-tests.elc: tests/piem-tests.el piem.elc
.texi.html:
makeinfo --html --css-ref=manual.css -c TOP_NODE_UP_URL=/ --no-split \
-o $@ $<
+
+sign-tar:
+ tag="$$(git describe --abbrev=0)"; \
+ object=$$(git archive --format tar \
+ --prefix "piem-$${tag#v}/" "$$tag" | \
+ gpg --output - --armor --detach-sign | \
+ git hash-object -w --stdin); \
+ git notes --ref=refs/notes/signatures/tar add -C "$$object" "$$tag"