buildable-stick-system/Makefile
Brian S. Stephan 2ed9b12ed3
simplify my Makefile by writing the build stuff in Python
I'm going to move all of the .scad files into subdirectories and I
couldn't figure out how to recurse properly in make, so... do it the
easy way

make is hard, let's go shopping

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-06-20 10:51:16 -05:00

12 lines
376 B
Makefile

all:
python build.py
mkdir -p ./build/docs
cp ./docs/README-objects.md ./build/README.md
cp ./docs/assembly-and-tips.md ./build/docs/assembly-and-tips.md
cp ./docs/printing-and-materials.md ./build/docs/printing-and-materials.md
cp ./LICENSE ./build/LICENSE
pushd ./build; zip ./buildable-stick-system-`git describe --dirty`-stls.zip . -r; popd
clean:
rm -rf ./build