From: Joseph Coffland Date: Thu, 16 Aug 2018 09:23:28 +0000 (-0700) Subject: Added PCB PDF X-Git-Url: https://git.buildbotics.com/?a=commitdiff_plain;h=b05d3e07753586d29b414557efedae544d71e500;p=bbctrl-pcb Added PCB PDF --- diff --git a/Makefile b/Makefile index afc6f31..7b09b4d 100644 --- a/Makefile +++ b/Makefile @@ -6,13 +6,20 @@ SYMBOLS = $(wildcard symbols/*.sym) FOOTPRINTS = $(wildcard footprints/*.fp) PDFS = $(patsubst %.sch,%.pdf,$(SCHEMATICS)) PDF=doc/$(NAME)-v$(VERSION).pdf +PCB_PDF=doc/$(NAME)-pcb-v$(VERSION).pdf all: drc %.pdf: %.sch gschem -o $@ -s gschem-print.scm $< -pdf: $(PDF) +%.ps: %.pcb + pcb -x ps --psfile $@ $< + +pdf: $(PDF) $(PCB_PDF) + +$(PCB_PDF): $(NAME).ps + ps2pdf $< $@ $(PDF): $(PDFS) gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=$@ $(PDFS) @@ -55,4 +62,4 @@ tidy: clean: tidy rm -f *.cnc *.gbr $(NAME).zip $(NAME).net $(NAME).bom $(PDFS) -.SECONDARY: $(PDFS) +.SECONDARY: $(PDFS) $(NAME).ps diff --git a/doc/buildbotics_controller-pcb-v11.0.pdf b/doc/buildbotics_controller-pcb-v11.0.pdf new file mode 100644 index 0000000..c5c4851 Binary files /dev/null and b/doc/buildbotics_controller-pcb-v11.0.pdf differ