summaryrefslogtreecommitdiff
path: root/Makefile
blob: 06ed69ad05f18732c7d04893b2345a07e13e4858 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

KEY=/local/swamid-signer.key
CERT=/local/swamid-signer.crt
PATH=/local/saml-md-tools-install/bin:/pkg/libxml2/default/bin:/pkg/libxslt/default/bin:/pkg/libxmlsec1/default/bin:$(PATH)
PASS=$(shell cat /local/swamid-signer-pass.txt)

all: update sign

update:
	@svn up -q

sign: 
	@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