diff options
Diffstat (limited to 'rpkid/Makefile')
-rw-r--r-- | rpkid/Makefile | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/rpkid/Makefile b/rpkid/Makefile new file mode 100644 index 00000000..69f83f30 --- /dev/null +++ b/rpkid/Makefile @@ -0,0 +1,57 @@ +# $Id$ + +all:: left-right-protocol-samples/.stamp + +left-right-protocol-samples/.stamp: left-right-protocol-samples.xsl ../docs/left-right-xml + xsltproc left-right-protocol-samples.xsl ../docs/left-right-xml + touch $@ + +all:: left-right-schema.rng + +left-right-schema.rng: left-right-schema.rnc + trang left-right-schema.rnc left-right-schema.rng + +all:: up-down-schema.rng + +up-down-schema.rng: up-down-schema.rnc + trang up-down-schema.rnc up-down-schema.rng + +dont-run-trang: + touch *.rng + +relaxng: left-right-protocol-samples/.stamp left-right-schema.rng up-down-schema.rng + xmllint --noout --relaxng left-right-schema.rng left-right-protocol-samples/*.xml + xmllint --noout --relaxng up-down-schema.rng up-down-protocol-samples/*.xml + +# all:: resource-cert-samples-regen + +all-tests:: relaxng + +all-tests:: all ; python xml-parse-test.py + +resource-cert-samples-regen: resource-cert-samples/.stamp + cd resource-cert-samples && make + +resource-cert-samples/.stamp: generate-testrepo.py Makefile + python generate-testrepo.py + touch $@ + +doxygen: + cd rpki && doxygen + +tags: + find . -type f -name '*.py' | etags - + +all:: rpki/relaxng.py + +rpki/relaxng.py: left-right-schema.rng up-down-schema.rng make-relaxng.py + python make-relaxng.py >$@.tmp + mv $@.tmp $@ + +# all-tests:: all; sh -x rootd.sh run + +test all-tests:: all + python testbed.py -y testbed.1.yaml + +all-tests:: all + python testbed.py -y testbed.2.yaml |