mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-11-05 04:05:54 +02:00
atusb/Makefile (spotless): new target to also remove KiCAD "junk" files
This commit is contained in:
parent
227bed1366
commit
83d47a8826
@ -52,9 +52,10 @@ gerber:
|
||||
fab: gerber
|
||||
pcbnew --plot=dxf --origin=aux -l PCB_Edges $(NAME).brd
|
||||
pcbnew --drill --origin=aux $(NAME).brd
|
||||
tar Ccfz .. $(NAME)-pcb-$(VERSION).tar.gz \
|
||||
mkdir -p fab
|
||||
tar Ccfz .. fab/$(NAME)-pcb-$(VERSION).tar.gz \
|
||||
$(PCB_FILES:%=$(DIR)/%)
|
||||
cd ..; zip -l $(DIR)/$(NAME)-pcb-$(VERSION).zip \
|
||||
cd ..; zip -l $(DIR)/fab/$(NAME)-pcb-$(VERSION).zip \
|
||||
$(PCB_FILES:%=$(DIR)/%)
|
||||
|
||||
gerbv:
|
||||
@ -66,8 +67,8 @@ gerbv:
|
||||
$(NAME)-Back.gbl
|
||||
|
||||
upload:
|
||||
qippl $(NAME)-pcb-$(VERSION).tar.gz \
|
||||
$(NAME)-pcb-$(VERSION).zip wpan/fab
|
||||
qippl fab/$(NAME)-pcb-$(VERSION).tar.gz \
|
||||
fab/$(NAME)-pcb-$(VERSION).zip wpan/fab
|
||||
|
||||
# --- DIY production (toner transfer) -----------------------------------------
|
||||
|
||||
|
@ -69,9 +69,10 @@ gerber:
|
||||
fab: gerber
|
||||
pcbnew --plot=dxf --origin=aux -l PCB_Edges $(NAME).brd
|
||||
pcbnew --drill --origin=aux $(NAME).brd
|
||||
tar Ccfz .. $(NAME)-pcb-$(VERSION).tar.gz \
|
||||
mkdir -p fab
|
||||
tar Ccfz .. fab/$(NAME)-pcb-$(VERSION).tar.gz \
|
||||
$(PCB_FILES:%=$(DIR)/%)
|
||||
cd ..; zip -l $(DIR)/$(NAME)-pcb-$(VERSION).zip \
|
||||
cd ..; zip -l $(DIR)/fab/$(NAME)-pcb-$(VERSION).zip \
|
||||
$(PCB_FILES:%=$(DIR)/%)
|
||||
|
||||
gerbv:
|
||||
@ -83,8 +84,8 @@ gerbv:
|
||||
$(NAME)-Back.gbl
|
||||
|
||||
upload:
|
||||
qippl $(NAME)-pcb-$(VERSION).tar.gz \
|
||||
$(NAME)-pcb-$(VERSION).zip wpan/fab
|
||||
qippl fab/$(NAME)-pcb-$(VERSION).tar.gz \
|
||||
fab/$(NAME)-pcb-$(VERSION).zip wpan/fab
|
||||
|
||||
# --- Cleanup -----------------------------------------------------------------
|
||||
|
||||
@ -96,3 +97,10 @@ clean:
|
||||
rm -f $(NAME)-Back.gbl $(NAME)-Mask_Back.gbs
|
||||
rm -f $(NAME)-SilkS_Back.gbo $(NAME)-SoldP_Back.gbp
|
||||
rm -f $(NAME)-Comments.gbr
|
||||
|
||||
spotless: clean
|
||||
rm -f '$$'savepcb.brd
|
||||
rm -f $(NAME)-cache.bak atrf.bak usb.bak
|
||||
rm -f $(NAME).000
|
||||
rm -f $(NAME).net
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user