X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=reprap-play.git;a=blobdiff_plain;f=Makefile;h=3c6f1e9a496ff99e06e6add6556a1bff6c77b700;hp=edd6f7a04a6f7d66a325c0ffc4a599a41961bd66;hb=3b462ccc1bc389ce68873d61395ff05ed50693fa;hpb=e4b128edf9330323e3baac3542706de67a691073 diff --git a/Makefile b/Makefile index edd6f7a..3c6f1e9 100644 --- a/Makefile +++ b/Makefile @@ -33,6 +33,8 @@ AUTO_INCS = funcs.scad default: autoincs scads +$(shell set -xe; ./commitid.scad.pl >commitid.scad.tmp; cmp commitid.scad.tmp commitid.scad || mv -f commitid.scad.tmp commitid.scad ) + autoincs: $(AUTO_INCS) scads: $(addsuffix .auto.scad, $(AUTO_TOPLEVELS)) stls: $(addsuffix .auto.stl, $(AUTO_TOPLEVELS)) @@ -119,6 +121,15 @@ pandemic-quarantine-l%.eps: pandemic-quarantine-numbers.fig fig2dev -D +$(notdir $*) -L eps <$< >$@.tmp @mv -f $@.tmp $@ +FILAMENTSPOOL_NUMBERS=$(shell seq 300 100 1500) +filamentspool-number-n%.eps: filamentspool-number.eps.pl + ./$< $* >$@.tmp && mv -f $@.tmp $@ + +FILAMENTSPOOL_DXFS=$(foreach n,$(FILAMENTSPOOL_NUMBERS), \ + filamentspool-number-n$n.dxf) + +filamentspool-numbers filamentspool.stl: $(FILAMENTSPOOL_DXFS) + SCREWRECESSTEST_SIZES= 2 3 4 5 6 SCREWRECESSTEST_DXFS=$(foreach s,$(SCREWRECESSTEST_SIZES), \ screw-recess-test-number-s$s.dxf)