doc-vtk: move sources out of build/

This commit is contained in:
2024-02-05 03:52:36 +00:00
parent 2b414b51ae
commit 9a35d265ea
3 changed files with 5 additions and 1 deletions

View File

@@ -72,7 +72,11 @@ install:
%/pinephone_phone.vtk: cq_toplevel.py src/*.py
./cq_toplevel.py --render-phone-only --export-vtk $@
doc: build/doc-vtk/pinephone_case.vtk build/doc-vtk/pinephone_phone.vtk
build/doc-vtk/vtk.js: doc.in/vtk.js
ln -sf ../../doc.in/vtk.js $@
build/doc-vtk/index.html: doc.in/index.html build/doc-vtk/vtk.js build/doc-vtk/pinephone_case.vtk build/doc-vtk/pinephone_phone.vtk
ln -sf ../../doc.in/index.html $@
doc: build/doc-vtk/index.html
clean:
rm -rf build