summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 5e9c1d68..6553852f 100644
--- a/Makefile
+++ b/Makefile
@@ -18,6 +18,10 @@ XSLTDEFS := --stringparam org $(ORG) --stringparam ID $(ID) --stringparam tou $(
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
SIGN := xslt/sign.xsl
+HTML := HEADER.html README.html
+STYLE := bootstrap swamid-logo-3.png
+TOU := swamid-tou-en.txt swamid-tou-sv.txt
+WEBFILES := $(HTML) $(STYLE) $(TOU)
-include $(SWAMID_MK_CONFIG)
@@ -75,11 +79,11 @@ swamid-interfederations2:
swamid: swamid-2.0.pub swamid-no-interfederation-combined.pub swamid-discovery.pub swamid-idp.pub swamid-idp-transitive.pub swamid-registered.pub swamid-testing-1.0.pub swamid-testing-idp-1.0.pub
-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)
+web: $(WEBFILES)
+ rsync -avz $(WEBFILES) $(DEST)
pubpubkey:
- cp -a $(CERT) $(DEST)
+ rsync -avz $(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