.PRECIOUS: pandemic-counter-l%.eps
pandemic-counter-l%.eps: pandemic-counter-letters.fig
fig2dev -D +$(notdir $*) -L eps <$< >$@.tmp
- @mv -f $@.tmp $@
+ @$i
.PRECIOUS: maglite-holder-torch-curve.eps
maglite-holder-torch-curve.eps: maglite-holder-torch.fig
fig2dev -D +1:70 -L eps <$< >$@.tmp
- @mv -f $@.tmp $@
+ @$i
maglite-holder-torch-curve.dxf: maglite-holder-torch-curve.eps
pstoedit -dt -flat 0.05 -f "dxf: -polyaslines -mm" $< $@
.PRECIOUS: pandemic-quarantine-l%.eps
pandemic-quarantine-l%.eps: pandemic-quarantine-numbers.fig
fig2dev -D +$(notdir $*) -L eps <$< >$@.tmp
- @mv -f $@.tmp $@
+ @$i
FILAMENTSPOOL_NUMBERS=$(shell seq 300 100 1500)
filamentspool-number-n%.eps: filamentspool-number.eps.pl
- ./$< $* >$@.tmp && mv -f $@.tmp $@
+ ./$< $* >$@.tmp && $i
FILAMENTSPOOL_DXFS=$(foreach n,$(FILAMENTSPOOL_NUMBERS), \
filamentspool-number-n$n.dxf)
screw-recess-test-number-s$s.dxf)
screw-recess-test-number-s%.fig: screw-recess-test-number.fig.pl
- ./$< $* >$@.tmp && mv -f $@.tmp $@
+ ./$< $* >$@.tmp && $i
screw-recess-test-number-s%.eps: screw-recess-test-number-s%.fig
fig2dev -L eps <$< >$@.tmp
- @mv -f $@.tmp $@
+ @$i
screw-recess-test-numbers screw-recess-test.stl: $(SCREWRECESSTEST_DXFS)
question-question.eps: question-question.fig
fig2dev -L eps <$< >$@.tmp
- @mv -f $@.tmp $@
+ @$i
sewing-table%.stl: sewing-table-rear-profile.dxf
sewing-table%.stl: sewing-table-front-profile.dxf
sewing-table-%-profile.eps: sewing-table-%-profile.fig
fig2dev -L eps -D +40 <$< >$@.tmp
- @mv -f $@.tmp $@
+ @$i
question-token.stl: question-question.dxf
distort-stl poster-tube-lid,CatchPreDistort.auto.stl
./distort-stl <poster-tube-lid,CatchPreDistort.auto.stl \
set-fa $(notdir $*) project-cylinder 100 >$@.tmp
- mv -f $@.tmp $@
+ $i
%.auto.stls:
$(MAKE) $(addsuffix .auto.stl, $(shell $(DUTILS)/toplevel-find $*))
+i=mv -f $@.tmp $@
+
-include .*.d
%.stl: %.scad $(AUTO_INCS)
AUTOBASE=$(shell echo $(1) | perl -pe 's/,\w+\.auto$$//')
%: %.cpp
- cpp -nostdinc -P <$< >$@.tmp && mv -f $@.tmp $@
+ cpp -nostdinc -P <$< >$@.tmp && $i
funcs.scad: diziet-utils/funcs.scad.cpp
- cpp -nostdinc -P $< >$@.tmp && mv -f $@.tmp $@
+ cpp -nostdinc -P $< >$@.tmp && $i
%.gcode: manual-gcode-generator %.m-g
- $(CWD)/$^ >$@.tmp && mv -f $@.tmp $@
+ $(CWD)/$^ >$@.tmp && $i
%.dxf: %.eps
pstoedit -dt -f "dxf: -polyaslines -mm" $< $@
%: %.pl
- ./$< >$@.tmp && mv -f $@.tmp $@
+ ./$< >$@.tmp && $i
%: %.m4
- $(M4) -P >$@.tmp $< && mv -f $@.tmp $@
+ $(M4) -P >$@.tmp $< && $i
.PRECIOUS: %.auto.scad
%.auto.scad: $(DUTILS)/toplevel-make Makefile $(DUTILS)/toplevel-find
@echo ' write $@'
$< $@ >$@.tmp
- @mv -f $@.tmp $@
+ @$i
.PRECIOUS: %.stl %.gcode %.eps %.dxf