summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index c15fc7a2..06ed69ad 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,14 @@
KEY=/local/swamid-signer.key
CERT=/local/swamid-signer.crt
+PATH=/local/saml-md-tools-install/bin:/pkg/libxml2/default/bin:/pkg/libxslt/default/bin:/pkg/libxmlsec1/default/bin:$(PATH)
+PASS=$(shell cat /local/swamid-signer-pass.txt)
-all: update
+all: update sign
-update:
+update:
+ @svn up -q
+
+sign:
@saml-md-tool swamid-1.0 update --key=$(KEY) --cert=$(CERT) --pwd=$(PASS)
+ @test -s swamid-1.0.xml && mv swamid-1.0.xml /local/saml-metadata