tMakefile - devuan-keyring - Devuan keyring package
 (HTM) git clone https://git.parazyd.org/devuan-keyring
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
       ---
       tMakefile (846B)
       ---
            1 .POSIX:
            2 
            3 # N.B. This makefile is for my personal package maintenance (parazyd)
            4 
            5 NAME    = $(shell dpkg-parsechangelog -S Source)
            6 VERSION = $(shell dpkg-parsechangelog -S Version | cut -d- -f1)
            7 REV     = $(shell dpkg-parsechangelog -S Version | cut -d- -f2)
            8 
            9 ORIGTGZ = ../$(NAME)_$(VERSION).orig.tar.gz
           10 DEB     = ../$(NAME)_$(VERSION)-$(REV)_all.deb
           11 
           12 KEYRINGS = \
           13         keyrings/devuan-archive-keyring.gpg \
           14         keyrings/devuan-keyring-2016-archive.gpg \
           15         keyrings/devuan-keyring-2016-cdimage.gpg \
           16         keyrings/devuan-keyring-2017-archive.gpg \
           17         keyrings/devuan-master-keyring.gpg
           18 
           19 all install clean:
           20 
           21 $(KEYRINGS):
           22 
           23 SHA512SUMS.txt.asc: $(KEYRINGS)
           24         sha512sum keyrings/*.gpg | gpg --clearsign > $@
           25 
           26 $(ORIGTGZ):
           27         git archive --format=tar.gz $(VERSION) . -o $@
           28 
           29 $(DEB): $(ORIGTGZ)
           30         dpkg-buildpackage -d --force-sign
           31 
           32 deb: $(DEB)
           33 
           34 .PHONY: all install clean deb