1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-06-26 01:29:29 +03: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:
Werner Almesberger 2011-03-22 10:29:45 -03:00
parent f1586fffd5
commit 0960497602
2 changed files with 20 additions and 0 deletions

View File

@ -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

View File

@ -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