Makefile: add a make doc
rule
This commit is contained in:
9
Makefile
9
Makefile
@@ -67,10 +67,17 @@ install:
|
||||
install -m644 build/case.stl $(SHAREDIR)
|
||||
install -m644 build/case.gcode $(SHAREDIR)
|
||||
|
||||
%/pinephone_case.vtk: cq_toplevel.py src/*.py
|
||||
./cq_toplevel.py --export-vtk $@
|
||||
%/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
|
||||
|
||||
clean:
|
||||
rm -rf build
|
||||
|
||||
build/case.stl: src/*.py
|
||||
build/case.stl: cq_toplevel.py src/*.py
|
||||
mkdir -p $(shell dirname $@)
|
||||
./cq_toplevel.py --export-stl $@
|
||||
|
||||
|
Reference in New Issue
Block a user