From fffa6e9867ae529069b512ba371ab18ad843a155 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Mon, 14 Mar 2011 00:33:40 -0300 Subject: [PATCH] atben/atusb: added -pcb to PCB fab archives; added "upload" target - atben/Makefile (fab), atusb/Makefile (fab): changed name of PCB fab archives from $(NAME)-$(VERSION)... to $(NAME)-pcb-$(VERSION)... - atben/Makefile (upload), atusb/Makefile (upload): new target to upload PCB fab archives to http://downloads.qi-hardware.com/people/werner/wpan/fab/ --- atben/Makefile | 9 +++++++-- atusb/Makefile | 9 +++++++-- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/atben/Makefile b/atben/Makefile index 39450c2..1849b7b 100644 --- a/atben/Makefile +++ b/atben/Makefile @@ -46,8 +46,9 @@ gerber: fab: gerber pcbnew --plot=dxf -l PCB_Edges $(NAME).brd pcbnew --drill $(NAME).brd - tar Ccfz .. $(NAME)-$(VERSION).tar.gz $(PCB_FILES:%=$(DIR)/%) - cd ..; zip -l $(DIR)/$(NAME)-$(VERSION).zip \ + tar Ccfz .. $(NAME)-pcb-$(VERSION).tar.gz \ + $(PCB_FILES:%=$(DIR)/%) + cd ..; zip -l $(DIR)/$(NAME)-pcb-$(VERSION).zip \ $(PCB_FILES:%=$(DIR)/%) gerbv: @@ -58,6 +59,10 @@ gerbv: $(NAME)-Mask_Front.gts \ $(NAME)-Back.gbl +upload: + qippl $(NAME)-pcb-$(VERSION).tar.gz \ + $(NAME)-pcb-$(VERSION).zip wpan/fab + # --- DIY production (toner transfer) ----------------------------------------- # diff --git a/atusb/Makefile b/atusb/Makefile index 5378ab0..ba149f9 100644 --- a/atusb/Makefile +++ b/atusb/Makefile @@ -65,8 +65,9 @@ gerber: fab: gerber pcbnew --plot=dxf -l PCB_Edges $(NAME).brd pcbnew --drill $(NAME).brd - tar Ccfz .. $(NAME)-$(VERSION).tar.gz $(PCB_FILES:%=$(DIR)/%) - cd ..; zip -l $(DIR)/$(NAME)-$(VERSION).zip \ + tar Ccfz .. $(NAME)-pcb-$(VERSION).tar.gz \ + $(PCB_FILES:%=$(DIR)/%) + cd ..; zip -l $(DIR)/$(NAME)-pcb-$(VERSION).zip \ $(PCB_FILES:%=$(DIR)/%) gerbv: @@ -77,6 +78,10 @@ gerbv: $(NAME)-Mask_Front.gts \ $(NAME)-Back.gbl +upload: + qippl $(NAME)-pcb-$(VERSION).tar.gz \ + $(NAME)-pcb-$(VERSION).zip wpan/fab + # --- Cleanup ----------------------------------------------------------------- clean: