summaryrefslogtreecommitdiffstats
path: root/clean.sh
diff options
context:
space:
mode:
authorMichal Cmarada <mcmarada@cisco.com>2019-03-11 13:29:57 +0100
committerMichal Cmarada <mcmarada@cisco.com>2019-03-15 10:07:11 +0100
commita9aacd4d48c3a5887267366c2ef643e953975792 (patch)
treec90c7c41eb77f8679cbcd85d66e7dde0067570ab /clean.sh
parentf8e326876496ddcdaaa2525596c30aad820b69f4 (diff)
add documentation generator
Enables generating of HTML documentation. It depends on sphinx generator. During configuration if sphinx is detected it will generate "docs" target for make. To build the documentation use "make docs", which will build the HTML documentation in build-root/html. Change-Id: Ia627f7d26c954a2341e13a54006955d21d162802 Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
Diffstat (limited to 'clean.sh')
-rwxr-xr-xclean.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/clean.sh b/clean.sh
index 92e3185..95d0961 100755
--- a/clean.sh
+++ b/clean.sh
@@ -16,9 +16,12 @@
echo "JVPP cleanup started"
make clean
rm -rf build-root/packages/*
+rm -rf build-root/html/*
+rm -rf docs/_build/*
+rm -rf docs/_doctrees/*
rm -rf java/*.jar
# clean cmake cache
-find . -iwholename '*cmake*' -not -name CMakeLists.txt -delete
+find . -iwholename '*cmake*' -not -name CMakeLists.txt -not -name FindSphinx.cmake -delete
# clean cpack cache
find . -iwholename '*cpack*' -delete
echo "... cleanup finished."