summaryrefslogtreecommitdiff
path: root/Makefile
blob: b28fff23c7357735223e7eb580c43bc4f8a3c6a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

KEY=/local/swamid-signer.key
CERT=/local/swamid-signer.crt
PASS=$(shell cat /local/swamid-signer-pass.txt)

all: update sign

update:
	@svn up -q

sign: swamid nya

swamid:
	@saml-md-tool swamid-1.0 update --key=$(KEY) --cert=$(CERT) --pwd=$(PASS)
	@test -s swamid-1.0.xml && mv swamid-1.0.xml /local/saml-metadata

nya:
	@saml-md-tool nya-1.0 update --key=$(KEY) --cert=$(CERT) --pwd=$(PASS)