aboutsummaryrefslogtreecommitdiff
path: root/ca/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'ca/Makefile.in')
-rw-r--r--ca/Makefile.in64
1 files changed, 7 insertions, 57 deletions
diff --git a/ca/Makefile.in b/ca/Makefile.in
index 0764edc1..317b8395 100644
--- a/ca/Makefile.in
+++ b/ca/Makefile.in
@@ -55,73 +55,23 @@ uninstall deinstall::
distclean::
rm -f installed
-dont-run-trang:
- touch *.rng
-
-relaxng: left-right-schema.rng up-down-schema.rng publication-schema.rng
+relaxng:
cd tests; $(MAKE) protocol-samples
- xmllint --noout --relaxng left-right-schema.rng tests/left-right-protocol-samples/*.xml
- xmllint --noout --relaxng up-down-schema.rng tests/up-down-protocol-samples/*.xml
- xmllint --noout --relaxng publication-schema.rng tests/publication-protocol-samples/*.xml
+ xmllint --noout --relaxng ../schemas/relaxng/left-right-schema.rng tests/left-right-protocol-samples/*.xml
+ xmllint --noout --relaxng ../schemas/relaxng/up-down-schema.rng tests/up-down-protocol-samples/*.xml
+ xmllint --noout --relaxng ../schemas/relaxng/publication-schema.rng tests/publication-protocol-samples/*.xml
unit-tests: all
PWD=`pwd`; for i in rpki/*.py; do echo "[$$i]"; PYTHONPATH=$$PWD ${PYTHON} $$i; done
-all-tests:: unit-tests
-
-all-tests:: relaxng
+all-tests:: unit-tests relaxng
test all-tests parse-test profile yamltest yamlconf:: all
cd tests; $(MAKE) $@
-tags: Makefile
- find . -type d -name build -prune -o -type f \( -name '*.py' -o -name '*.sql' -o -name '*.rnc' -o -name '*.py.in' \) ! -name relaxng.py ! -name sql_schemas.py -print | etags -
-
-lint:
- pylint --rcfile ${abs_top_srcdir}/buildtools/pylint.rc rpki/*.py rpki/irdb/*.py *.py tests/*.py
-
-# Documentation
-
-doc/pubd.dot: pubd.sql
- sh ${abs_top_srcdir}/buildtools/graphviz-sql.sh $? >$@
-
-doc/rpkid.dot: rpkid.sql
- sh ${abs_top_srcdir}/buildtools/graphviz-sql.sh $? >$@
-
-.SUFFIXES: .dot .png .pdf .eps
-
-.dot.pdf:
- dot -Tps2 $? | ps2pdf - $@
-
-.dot.eps:
- dot -o $@ -Teps $?
-
-.dot.png:
- dot -o $@ -Tpng $?
-
-dot: doc/pubd.dot doc/rpkid.dot
-
-eps: doc/pubd.eps doc/rpkid.eps doc/rpkid-bpki.eps doc/pubd-bpki.eps
-
-png: doc/pubd.png doc/rpkid.png doc/rpkid-bpki.png doc/pubd-bpki.png
-
-pdf: doc/pubd.pdf doc/rpkid.pdf doc/rpkid-bpki.pdf doc/pubd-bpki.pdf
-
-docclean:
- rm -rf doc/html doc/latex doc/xml
- rm -f doc/*.eps doc/*.pdf doc/*.png
- rm -f doc/pubd.dot doc/rpkid.dot
-
-html: dot eps png
- TZ='' IMAGE_PATH=${abs_builddir}/doc doxygen
-
-docs: dot eps png html pdf
-
-##
-
-distclean:: clean docclean
+distclean:: clean
cd tests; ${MAKE} $@
- rm -f TAGS Makefile
+ rm -f Makefile
all:: examples/rpki.conf