summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2016-11-17 05:12:14 +0100
committerLeif Johansson <leifj@sunet.se>2016-11-17 05:12:14 +0100
commit11f983bb81ad2cda4b4f7957f32ddd9b7bcbb337 (patch)
tree77d72959ce9a9b3cf51363bfcb4f2cd9a2765d94
parente08e001d9766753cabc83bb4bcc7073d153ef3fd (diff)
parametrize web files
-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