X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?p=bike-lights.git;a=blobdiff_plain;f=schematics%2FMakefile;fp=schematics%2FMakefile;h=f669597c8e1df51d753ba66c4e90b91ec3550599;hp=ff6589b474575aeb1596080d4f3241410d9e298b;hb=9755dfca299447925691d7ead648a8216fad8465;hpb=9ae181a57836e6a6e133400f4d88e61feb6481fc diff --git a/schematics/Makefile b/schematics/Makefile index ff6589b..f669597 100644 --- a/schematics/Makefile +++ b/schematics/Makefile @@ -1,5 +1,5 @@ WEB_DIR=/home/kas/html/bike-lights/ -WEB_FILES=pcb-back.png pcb-front.png schematics.png +WEB_FILES=pcb-back.png pcb-front.png schematics.png handlebar.png GERBER_FILES=\ lights.top.gbr \ lights.bottom.gbr \ @@ -17,7 +17,7 @@ clean: lights.png lights.ps lights.sch~ pcb-back.png pcb-front.png \ schematics.png *.gbr *.cnc -web: pcb-back.png pcb-front.png schematics.png +web: $(WEB_FILES) test -d $(WEB_DIR) && install -m 644 $(WEB_FILES) $(WEB_DIR) lights.pcb: lights.sch lights.prj @@ -34,6 +34,12 @@ pcb-back.png: lights.pcb schematics.png: lights.sch gschem -s image.scm lights.sch -o schematics.png +handlebar-big.png: handlebar.sch + gschem -s image.scm handlebar.sch -o handlebar-big.png + +handlebar.png: handlebar-big.png + convert -crop 450x300+320+170 handlebar-big.png handlebar.png + gerber: $(GERBER_FILES) $(GERBER_FILES): lights.pcb