summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorleifj <leifj@0878fbc5-a6f2-46f6-b174-cb7b08c221d1>2007-11-22 20:14:55 +0000
committerleifj <leifj@0878fbc5-a6f2-46f6-b174-cb7b08c221d1>2007-11-22 20:14:55 +0000
commit4e3558ab90d2fd3f77486b7e654dc435a5315f55 (patch)
treebf8d75ce42f2f8c084fdf5bd604c3c8940b22275 /Makefile
parent241eeb2c0473df6190048dca24352abeee522511 (diff)
update the rules
git-svn-id: svn+ssh://svn.it.su.se/svn/swamid-metadata/trunk@13 0878fbc5-a6f2-46f6-b174-cb7b08c221d1
Diffstat (limited to 'Makefile')
-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