KEY=signer.key CERT=signer.crt PASS=$(shell cat /local/swamid-signer-pass.txt) all: update sign update: @svn up -q keys: $(KEY) $(CERT) sign: keys swamid nya swamid-compat: @test -s /local/saml-metadata/swamid-1.0.xml && cp /local/saml-metadata/swamid-1.0.xml /local/saml-metadata/urn-mace-swami.se-swamid-test-1.0-metadata.xml @test -s /local/saml-metadata/swamid-1.0.xml && cp /local/saml-metadata/swamid-1.0.xml /local/saml-metadata/urn-mace-swami.se-swamid-test-1.0-metadata-signed.xml 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) @test -s nya-1.0.xml && mv nya-1.0.xml /local/saml-metadata