mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-11-04 23:04:38 +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
|
fab: gerber
|
||||||
pcbnew --plot=dxf --origin=aux -l PCB_Edges $(NAME).brd
|
pcbnew --plot=dxf --origin=aux -l PCB_Edges $(NAME).brd
|
||||||
pcbnew --drill --origin=aux $(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)/%)
|
$(PCB_FILES:%=$(DIR)/%)
|
||||||
cd ..; zip -l $(DIR)/$(NAME)-pcb-$(VERSION).zip \
|
cd ..; zip -l $(DIR)/fab/$(NAME)-pcb-$(VERSION).zip \
|
||||||
$(PCB_FILES:%=$(DIR)/%)
|
$(PCB_FILES:%=$(DIR)/%)
|
||||||
|
|
||||||
gerbv:
|
gerbv:
|
||||||
@ -66,8 +67,8 @@ gerbv:
|
|||||||
$(NAME)-Back.gbl
|
$(NAME)-Back.gbl
|
||||||
|
|
||||||
upload:
|
upload:
|
||||||
qippl $(NAME)-pcb-$(VERSION).tar.gz \
|
qippl fab/$(NAME)-pcb-$(VERSION).tar.gz \
|
||||||
$(NAME)-pcb-$(VERSION).zip wpan/fab
|
fab/$(NAME)-pcb-$(VERSION).zip wpan/fab
|
||||||
|
|
||||||
# --- DIY production (toner transfer) -----------------------------------------
|
# --- DIY production (toner transfer) -----------------------------------------
|
||||||
|
|
||||||
|
@ -69,9 +69,10 @@ gerber:
|
|||||||
fab: gerber
|
fab: gerber
|
||||||
pcbnew --plot=dxf --origin=aux -l PCB_Edges $(NAME).brd
|
pcbnew --plot=dxf --origin=aux -l PCB_Edges $(NAME).brd
|
||||||
pcbnew --drill --origin=aux $(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)/%)
|
$(PCB_FILES:%=$(DIR)/%)
|
||||||
cd ..; zip -l $(DIR)/$(NAME)-pcb-$(VERSION).zip \
|
cd ..; zip -l $(DIR)/fab/$(NAME)-pcb-$(VERSION).zip \
|
||||||
$(PCB_FILES:%=$(DIR)/%)
|
$(PCB_FILES:%=$(DIR)/%)
|
||||||
|
|
||||||
gerbv:
|
gerbv:
|
||||||
@ -83,8 +84,8 @@ gerbv:
|
|||||||
$(NAME)-Back.gbl
|
$(NAME)-Back.gbl
|
||||||
|
|
||||||
upload:
|
upload:
|
||||||
qippl $(NAME)-pcb-$(VERSION).tar.gz \
|
qippl fab/$(NAME)-pcb-$(VERSION).tar.gz \
|
||||||
$(NAME)-pcb-$(VERSION).zip wpan/fab
|
fab/$(NAME)-pcb-$(VERSION).zip wpan/fab
|
||||||
|
|
||||||
# --- Cleanup -----------------------------------------------------------------
|
# --- Cleanup -----------------------------------------------------------------
|
||||||
|
|
||||||
@ -96,3 +97,10 @@ clean:
|
|||||||
rm -f $(NAME)-Back.gbl $(NAME)-Mask_Back.gbs
|
rm -f $(NAME)-Back.gbl $(NAME)-Mask_Back.gbs
|
||||||
rm -f $(NAME)-SilkS_Back.gbo $(NAME)-SoldP_Back.gbp
|
rm -f $(NAME)-SilkS_Back.gbo $(NAME)-SoldP_Back.gbp
|
||||||
rm -f $(NAME)-Comments.gbr
|
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