1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-26 17:59:41 +02:00

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/
This commit is contained in:
Werner Almesberger 2011-03-14 00:33:40 -03:00
parent 7ef1c092bf
commit fffa6e9867
2 changed files with 14 additions and 4 deletions

View File

@ -46,8 +46,9 @@ gerber:
fab: gerber fab: gerber
pcbnew --plot=dxf -l PCB_Edges $(NAME).brd pcbnew --plot=dxf -l PCB_Edges $(NAME).brd
pcbnew --drill $(NAME).brd pcbnew --drill $(NAME).brd
tar Ccfz .. $(NAME)-$(VERSION).tar.gz $(PCB_FILES:%=$(DIR)/%) tar Ccfz .. $(NAME)-pcb-$(VERSION).tar.gz \
cd ..; zip -l $(DIR)/$(NAME)-$(VERSION).zip \ $(PCB_FILES:%=$(DIR)/%)
cd ..; zip -l $(DIR)/$(NAME)-pcb-$(VERSION).zip \
$(PCB_FILES:%=$(DIR)/%) $(PCB_FILES:%=$(DIR)/%)
gerbv: gerbv:
@ -58,6 +59,10 @@ gerbv:
$(NAME)-Mask_Front.gts \ $(NAME)-Mask_Front.gts \
$(NAME)-Back.gbl $(NAME)-Back.gbl
upload:
qippl $(NAME)-pcb-$(VERSION).tar.gz \
$(NAME)-pcb-$(VERSION).zip wpan/fab
# --- DIY production (toner transfer) ----------------------------------------- # --- DIY production (toner transfer) -----------------------------------------
# #

View File

@ -65,8 +65,9 @@ gerber:
fab: gerber fab: gerber
pcbnew --plot=dxf -l PCB_Edges $(NAME).brd pcbnew --plot=dxf -l PCB_Edges $(NAME).brd
pcbnew --drill $(NAME).brd pcbnew --drill $(NAME).brd
tar Ccfz .. $(NAME)-$(VERSION).tar.gz $(PCB_FILES:%=$(DIR)/%) tar Ccfz .. $(NAME)-pcb-$(VERSION).tar.gz \
cd ..; zip -l $(DIR)/$(NAME)-$(VERSION).zip \ $(PCB_FILES:%=$(DIR)/%)
cd ..; zip -l $(DIR)/$(NAME)-pcb-$(VERSION).zip \
$(PCB_FILES:%=$(DIR)/%) $(PCB_FILES:%=$(DIR)/%)
gerbv: gerbv:
@ -77,6 +78,10 @@ gerbv:
$(NAME)-Mask_Front.gts \ $(NAME)-Mask_Front.gts \
$(NAME)-Back.gbl $(NAME)-Back.gbl
upload:
qippl $(NAME)-pcb-$(VERSION).tar.gz \
$(NAME)-pcb-$(VERSION).zip wpan/fab
# --- Cleanup ----------------------------------------------------------------- # --- Cleanup -----------------------------------------------------------------
clean: clean: