diff options
author | Leif Johansson <leifj@sunet.se> | 2013-06-12 12:02:27 +0200 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2013-06-12 12:02:27 +0200 |
commit | ed0c22e3daba1a577c8bd8a26a2b6cabe45bae8a (patch) | |
tree | 66b1882fc1d10615b2df06b0ab11d060248f75e9 | |
parent | 090a1204f3db36555f750a4f8585595b73e0f974 (diff) |
a target to clean local entity descriptors
untested! Dangerous!
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |