summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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