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=ff6589b474575aeb1596080d4f3241410d9e298b;hp=d987f9699f0457dcdef7354d7b5cac195ac63e97;hb=b0f6ca26be76cd2436c009e3195b3cf42c2752eb;hpb=a5e2c4ff913911dd56704241ee37239b04f1c910 diff --git a/schematics/Makefile b/schematics/Makefile index d987f96..ff6589b 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 +WEB_FILES=pcb-back.png pcb-front.png schematics.png GERBER_FILES=\ lights.top.gbr \ lights.bottom.gbr \ @@ -15,9 +15,9 @@ all: clean: rm -f lights.cmd lights.jpg lights.net lights.new.pcb lights.pcb- \ lights.png lights.ps lights.sch~ pcb-back.png pcb-front.png \ - *.gbr *.cnc + schematics.png *.gbr *.cnc -web: pcb-back.png pcb-front.png +web: pcb-back.png pcb-front.png schematics.png test -d $(WEB_DIR) && install -m 644 $(WEB_FILES) $(WEB_DIR) lights.pcb: lights.sch lights.prj @@ -31,6 +31,9 @@ pcb-back.png: lights.pcb pcb -x png --dpi 150 --photo-mode --photo-flip-x lights.pcb \ && mv lights.png $@ +schematics.png: lights.sch + gschem -s image.scm lights.sch -o schematics.png + gerber: $(GERBER_FILES) $(GERBER_FILES): lights.pcb