mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2025-01-09 21:50:14 +02:00
atben, atusb: added Makefile targets to generate "pretty" overview images
- Makefile (overview): run prettygerbv to generate an overview image - Makefile (uoverview): copy the overview image to downloads.qi-hardware.com and version it - Makefile (clean): remove overview.png
This commit is contained in:
parent
f1586fffd5
commit
0960497602
@ -1,6 +1,7 @@
|
||||
PLOT_BRD = pcbnew --plot=ps_a4 --ps-pads-drill-opt=none --fill-all-zones
|
||||
CPTX = ../../eda-tools/mlztx/cptx
|
||||
GMERGE = ../../eda-tools/gerber/gmerge
|
||||
PRETTYGERBV=../../eda-tools/gerber/prettygerbv
|
||||
|
||||
NAME = atben
|
||||
VERSION = 110314
|
||||
@ -77,6 +78,14 @@ upload:
|
||||
qippl fab/$(NAME)-pcb-$(VERSION).tar.gz \
|
||||
fab/$(NAME)-pcb-$(VERSION).zip wpan/fab
|
||||
|
||||
# --- Overviews images --------------------------------------------------------
|
||||
|
||||
overview: gerber
|
||||
$(PRETTYGERBV) $(NAME) all overview.png
|
||||
|
||||
uoverview: overview
|
||||
qippl overview.png wpan/tmp/$(NAME)-$(VERSION)-overview.png
|
||||
|
||||
# --- DIY production (toner transfer) -----------------------------------------
|
||||
|
||||
#
|
||||
@ -106,6 +115,7 @@ 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 $(NAME)-Drawings.gbr
|
||||
rm -f overview.png
|
||||
|
||||
spotless: clean
|
||||
rm -f '$$'savepcb.000 '$$'savepcb.brd
|
||||
|
@ -1,6 +1,7 @@
|
||||
PLOT_BRD = pcbnew --plot=ps_a4 --ps-pads-drill-opt=none --fill-all-zones
|
||||
CPTX = ../../eda-tools/mlztx/cptx
|
||||
GMERGE = ../../eda-tools/gerber/gmerge
|
||||
PRETTYGERBV=../../eda-tools/gerber/prettygerbv
|
||||
|
||||
NAME = atusb
|
||||
VERSION = 110314
|
||||
@ -94,6 +95,14 @@ upload:
|
||||
qippl fab/$(NAME)-pcb-$(VERSION).tar.gz \
|
||||
fab/$(NAME)-pcb-$(VERSION).zip wpan/fab
|
||||
|
||||
# --- Overview images ---------------------------------------------------------
|
||||
|
||||
overview: gerber
|
||||
$(PRETTYGERBV) $(NAME) all overview.png
|
||||
|
||||
uoverview: overview
|
||||
qippl overview.png wpan/tmp/$(NAME)-$(VERSION)-overview.png
|
||||
|
||||
# --- Cleanup -----------------------------------------------------------------
|
||||
|
||||
clean:
|
||||
@ -104,6 +113,7 @@ 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 $(NAME)-Drawings.gbr
|
||||
rm -f overview.png
|
||||
|
||||
spotless: clean
|
||||
rm -f '$$'savepcb.brd
|
||||
|
Loading…
Reference in New Issue
Block a user