diff options
Diffstat (limited to 'NewMakefile')
-rw-r--r-- | NewMakefile | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/NewMakefile b/NewMakefile index e61d0291..41bc9cc9 100644 --- a/NewMakefile +++ b/NewMakefile @@ -11,7 +11,9 @@ update: keys: $(KEY) $(CERT) -sign: keys swamid nya swamid-compat nya-testing swamid-testing swamid-kalmar swamid-edugain-testing swamid-ki-sll +MXML=$(shell echo *.mxml) + +sign: keys swamid nya swamid-compat nya-testing old-swamid-testing swamid-testing swamid-kalmar swamid-edugain-testing swamid-ki-sll 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 @@ -37,6 +39,14 @@ nya-testing: @test -s nya-1.0-testing.xml && cp nya-1.0-testing.xml $(DEST) swamid-testing: + @saml-md-tool swamid-testing-1.0 update --key=$(KEY) --cert=$(CERT) --pwd=$(PASS) + @test -s swamid-testing-1.0.xml && cp swamid-testing-1.0.xml $(DEST) + +swamid-testing-idp: + @saml-md-tool swamid-testing-idp-1.0 update --key=$(KEY) --cert=$(CERT) --pwd=$(PASS) + @test -s swamid-testing-idp-1.0.xml && cp swamid-testing-idp-1.0.xml $(DEST) + +old-swamid-testing: @saml-md-tool swamid-1.0-testing update --key=$(KEY) --cert=$(CERT) --pwd=$(PASS) @test -s swamid-1.0-testing.xml && cp swamid-1.0-testing.xml $(DEST) @@ -53,13 +63,7 @@ swamid-ki-sll: @test -s swamid-ki-sll-1.0.xml && cp swamid-ki-sll-1.0.xml $(DEST) test: - @xmllint --xinclude --noout --schema schema/sstc-saml-schema-metadata-2.0.xsd swamid-1.0.mxml - @xmllint --xinclude --noout --schema schema/sstc-saml-schema-metadata-2.0.xsd nya-1.0.mxml - @xmllint --xinclude --noout --schema schema/sstc-saml-schema-metadata-2.0.xsd swamid-1.0-testing.mxml - @xmllint --xinclude --noout --schema schema/sstc-saml-schema-metadata-2.0.xsd nya-1.0-testing.mxml - @xmllint --xinclude --noout --schema schema/sstc-saml-schema-metadata-2.0.xsd swamid-kalmar-1.0.mxml - @xmllint --xinclude --noout --schema schema/sstc-saml-schema-metadata-2.0.xsd swamid-ki-sll-1.0.mxml - @xmllint --xinclude --noout --schema schema/sstc-saml-schema-metadata-2.0.xsd swamid-edugain-testing-1.0.mxml + for x in $(MXML); do xmllint --xinclude --nowarning --noout --path schema --schema schema.xsd $$x; done clean: @rm -f *.xml |