summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile5
-rw-r--r--swamid2007.mk1
-rw-r--r--swamid2016.mk1
3 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2e8877c8..5dc044f6 100644
--- a/Makefile
+++ b/Makefile
@@ -21,7 +21,7 @@ SIGN := xslt/sign.xsl
-include $(SWAMID_MK_CONFIG)
-all: clean dependencies test sign clean web
+all: clean dependencies test sign clean web pubpubkey
MXML=$(shell echo *.mxml)
@@ -78,6 +78,9 @@ swamid: swamid-2.0.pub swamid-no-interfederation-combined.pub swamid-discovery.p
web: swamid-tou-en.txt swamid-tou-sv.txt HEADER.html README.html
rsync -avz swamid-tou-en.txt swamid-tou-sv.txt HEADER.html README.html bootstrap swamid-logo-3.png $(DEST)
+pubpubkey:
+ cp $(CERT) $(DEST)
+
swamid-interfederations-idp-2.0.xml: swamid-interfederations-2.0.mxml
@xsltproc --xinclude xslt/extract-idp.xslt swamid-interfederations-2.0.mxml > swamid-interfederations-idp-2.0.xml
diff --git a/swamid2007.mk b/swamid2007.mk
index c80be5c1..a43ff850 100644
--- a/swamid2007.mk
+++ b/swamid2007.mk
@@ -2,3 +2,4 @@ SIGNER := xmlsign -k http://swamid-hsmproxy.docker:8000/swamid/swamid -c /opt/sw
DEST := /opt/published-metadata/md.swamid.se
BASEURL:= http://md.swamid.se/md
SIGN := xslt/sign-luna.xsl
+CERT := /opt/swamid-credentials/swamid-signer.crt
diff --git a/swamid2016.mk b/swamid2016.mk
index 8175727c..870d7f17 100644
--- a/swamid2016.mk
+++ b/swamid2016.mk
@@ -2,3 +2,4 @@ SIGNER := xmlsign -k http://swamid-hsmproxy.docker:8000/swamid/swamid -c /opt/sw
DEST := /opt/published-metadata/mds.swamid.se
BASEURL:= http://mds.swamid.se/md
SIGN := xslt/sign-luna.xsl
+CERT := /opt/swamid-credentials/swamid-signer.crt