summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2013-06-12 12:02:27 +0200
committerLeif Johansson <leifj@sunet.se>2013-06-12 12:02:27 +0200
commited0c22e3daba1a577c8bd8a26a2b6cabe45bae8a (patch)
tree66b1882fc1d10615b2df06b0ab11d060248f75e9
parent090a1204f3db36555f750a4f8585595b73e0f974 (diff)
a target to clean local entity descriptors
untested! Dangerous!
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 991ee5d0..f516f7e8 100644
--- a/Makefile
+++ b/Makefile
@@ -3,6 +3,7 @@ KEY=/opt/swamid-credentials/swamid-signer.key
CERT=/opt/swamid-credentials/swamid-signer.crt
PASS=$(shell cat /opt/swamid-credentials/swamid-signer-pass.txt)
DEST=/opt/published-metadata
+SRCDIRS=swamid-1.0 swamid-2.0
DAYS:=1
DATE=$(shell perl scripts/expiration_date.pl $(DAYS))
@@ -137,3 +138,5 @@ test: swamid2-deps
clean:
@rm -f *.xml *.tbs *.n
+tidy:
+ @for x in `find $(SRCDIRS) -name \*.xml`; do xsltproc xslt/clean-entitydescriptor.xsl $$x > $$x.c && mv $$x.c $$x; done