diff options
author | leifj <leifj@0878fbc5-a6f2-46f6-b174-cb7b08c221d1> | 2008-10-14 12:17:51 +0000 |
---|---|---|
committer | leifj <leifj@0878fbc5-a6f2-46f6-b174-cb7b08c221d1> | 2008-10-14 12:17:51 +0000 |
commit | aad07f9593d5cbaa8e8315e1609d312f84c33940 (patch) | |
tree | 8aeaaf891d5c4afcab522a6fa2792bd3533b26c5 /Makefile | |
parent | a3d8c6f955fe75c76d02f089b92010c5f15bd086 (diff) |
git-svn-id: svn+ssh://svn.it.su.se/svn/swamid-metadata/trunk@53 0878fbc5-a6f2-46f6-b174-cb7b08c221d1
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 16 |
1 files changed, 11 insertions, 5 deletions
@@ -3,7 +3,7 @@ KEY=signer.key CERT=signer.crt PASS=$(shell cat /local/swamid-signer-pass.txt) -all: update sign +all: update clean sign update: @svn up -q @@ -12,13 +12,19 @@ keys: $(KEY) $(CERT) sign: keys swamid nya -swamid-compat: - @test -s /local/saml-metadata/swamid-1.0.xml && sed 's/md:Name=\"http://md.swamid.se/md/swamid-1.0.xml\"/md:Name=\"urn:mace:swami.se:swamid:test-1.0\"/g < /local/saml-metadata/swamid-1.0.xml > /tmp/foo.metadata +urn-mace-swami.se-swamid-test-1.0-metadata.mxml: + @sed 's!http://md.swamid.se/md/swamid-1.0.xml!urn:mace:swami.se:swamid:test-1.0!g' < swamid-1.0.mxml > urn-mace-swami.se-swamid-test-1.0-metadata.mxml + +swamid-compat: urn-mace-swami.se-swamid-test-1.0-metadata.mxml + @saml-md-tool urn-mace-swami.se-swamid-test-1.0-metadata update --key=$(KEY) --cert=$(CERT) --pwd=$(PASS) 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 + @test -s swamid-1.0.xml && cp 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 + @test -s nya-1.0.xml && cp nya-1.0.xml /local/saml-metadata + +clean: + @rm -f *.xml |