tAdd Makefile to ease my maintenance. - devuan-keyring - Devuan keyring package
HTML git clone https://git.parazyd.org/devuan-keyring
DIR Log
DIR Files
DIR Refs
DIR README
---
DIR commit 53039e6b2441b9bc1cd5df84f047cf1cf0b8dd69
DIR parent f8aa5cc36db6641c02f1542fc913732d16f16c32
HTML Author: parazyd <parazyd@dyne.org>
Date: Tue, 10 Nov 2020 00:30:20 +0100
Add Makefile to ease my maintenance.
Diffstat:
A Makefile | 34 +++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+), 0 deletions(-)
---
DIR diff --git a/Makefile b/Makefile
t@@ -0,0 +1,34 @@
+.POSIX:
+
+# N.B. This makefile is for my personal package maintenance (parazyd)
+
+NAME = $(shell dpkg-parsechangelog -S Source)
+VERSION = $(shell dpkg-parsechangelog -S Version | cut -d- -f1)
+REV = $(shell dpkg-parsechangelog -S Version | cut -d- -f2)
+
+ORIGTGZ = ../$(NAME)_$(VERSION).orig.tar.gz
+DEB = ../$(NAME)_$(VERSION)-$(REV)_all.deb
+
+KEYRINGS = \
+ keyrings/devuan-archive-keyring.gpg \
+ keyrings/devuan-keyring-2016-archive.gpg \
+ keyrings/devuan-keyring-2016-cdimage.gpg \
+ keyrings/devuan-keyring-2017-archive.gpg \
+ keyrings/devuan-master-keyring.gpg
+
+all install clean:
+
+$(KEYRINGS):
+
+SHA512SUMS.txt.asc: $(KEYRINGS)
+ sha512sum keyrings/*.gpg | gpg --clearsign > $@
+
+$(ORIGTGZ):
+ git archive --format=tar.gz $(VERSION) . -o $@
+
+$(DEB): $(ORIGTGZ)
+ dpkg-buildpackage -d --force-sign
+
+deb: $(DEB)
+
+.PHONY: all install clean deb