File: rules

package info (click to toggle)
emdebian-archive-keyring 2.2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 40 kB
  • ctags: 2
  • sloc: makefile: 10
file content (16 lines) | stat: -rwxr-xr-x 434 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

KEYRING=emdebian-archive-keyring.gpg
KEY=1804772E.txt

%:
	dh $@

$(KEYRING): $(KEY)
	gpg --no-permission-warning --homedir $(CURDIR) --no-default-keyring --keyring $(CURDIR)/$@.tmp --import $<
	gpg --no-permission-warning --homedir $(CURDIR) --no-default-keyring --keyring $(CURDIR)/$@.tmp --export --output $(CURDIR)/$@

override_dh_auto_build: $(KEYRING)

override_dh_auto_clean:
	rm -rf *.gpg *.gpg~ *.gpg.tmp