summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2016-11-15 08:18:41 +0100
committerLeif Johansson <leifj@sunet.se>2016-11-15 08:18:41 +0100
commitb3365e32e97b5ddfbfc5ffd682d3cb6431a1a1fb (patch)
treeca83961e1f52061f2455c7b6c01c2a5807125e96
parent4f3af1579a9c62fb2a79150568d67f63095aac44 (diff)
better name
-rw-r--r--Makefile3
-rw-r--r--swamid2007.mk (renamed from luna.mk)0
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 36c566d2..9d4cda2a 100644
--- a/Makefile
+++ b/Makefile
@@ -16,6 +16,7 @@ TRANSFORM=xslt/normalize.xsl
ID=$(shell perl scripts/unique_id.pl)
XSLTDEFS := --stringparam org $(ORG) --stringparam ID $(ID) --stringparam tou $(TOU) --stringparam rpi $(RPI) --stringparam defaultContact $(CONTACTS) --stringparam date $(DATE) --stringparam now $(NOW)
SIGNER := xmlsec1 --sign --privkey-pem $(KEY),$(CERT) --pwd $(PASS) --id-attr:ID urn:oasis:names:tc:SAML:2.0:metadata:EntitiesDescriptor
+BASEURL := "http://md.swamid.se/md/"
-include $(SWAMID_MK_CONFIG)
@@ -26,7 +27,7 @@ MXML=$(shell echo *.mxml)
sign: swamid upstream projects
%.sig: %.mxml
- xsltproc $(XSLTDEFS) --stringparam target "http://md.swamid.se/md/$*.xml" --xinclude $(TRANSFORM) $< > $*.n
+ xsltproc $(XSLTDEFS) --stringparam target "$(BASEURL)/$*.xml" --xinclude $(TRANSFORM) $< > $*.n
xsltproc $(XSLTDEFS) --xinclude xslt/sign.xsl $*.n > $*.tbs
$(SIGNER) --output $@ $*.tbs
xmllint --xinclude --nowarning --noout --path schema --schema schema.xsd $@
diff --git a/luna.mk b/swamid2007.mk
index 473f1b7d..473f1b7d 100644
--- a/luna.mk
+++ b/swamid2007.mk