Date:2011-03-22 14:29:45 (8 years 2 months ago)
Author:Werner Almesberger
Commit:0960497602c74b9c882c2fea81347c102c3f3959
Message: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
Files: atben/Makefile (3 diffs)
atusb/Makefile (3 diffs)

Change Details

atben/Makefile
11PLOT_BRD = pcbnew --plot=ps_a4 --ps-pads-drill-opt=none --fill-all-zones
22CPTX = ../../eda-tools/mlztx/cptx
33GMERGE = ../../eda-tools/gerber/gmerge
4PRETTYGERBV=../../eda-tools/gerber/prettygerbv
45
56NAME = atben
67VERSION = 110314
...... 
7778        qippl fab/$(NAME)-pcb-$(VERSION).tar.gz \
7879          fab/$(NAME)-pcb-$(VERSION).zip wpan/fab
7980
81# --- Overviews images --------------------------------------------------------
82
83overview: gerber
84        $(PRETTYGERBV) $(NAME) all overview.png
85
86uoverview: overview
87        qippl overview.png wpan/tmp/$(NAME)-$(VERSION)-overview.png
88
8089# --- DIY production (toner transfer) -----------------------------------------
8190
8291#
...... 
106115        rm -f $(NAME)-Back.gbl $(NAME)-Mask_Back.gbs
107116        rm -f $(NAME)-SilkS_Back.gbo $(NAME)-SoldP_Back.gbp
108117        rm -f $(NAME)-Comments.gbr $(NAME)-Drawings.gbr
118        rm -f overview.png
109119
110120spotless: clean
111121        rm -f '$$'savepcb.000 '$$'savepcb.brd
atusb/Makefile
11PLOT_BRD = pcbnew --plot=ps_a4 --ps-pads-drill-opt=none --fill-all-zones
22CPTX = ../../eda-tools/mlztx/cptx
33GMERGE = ../../eda-tools/gerber/gmerge
4PRETTYGERBV=../../eda-tools/gerber/prettygerbv
45
56NAME = atusb
67VERSION = 110314
...... 
9495        qippl fab/$(NAME)-pcb-$(VERSION).tar.gz \
9596          fab/$(NAME)-pcb-$(VERSION).zip wpan/fab
9697
98# --- Overview images ---------------------------------------------------------
99
100overview: gerber
101        $(PRETTYGERBV) $(NAME) all overview.png
102
103uoverview: overview
104        qippl overview.png wpan/tmp/$(NAME)-$(VERSION)-overview.png
105
97106# --- Cleanup -----------------------------------------------------------------
98107
99108clean:
...... 
104113        rm -f $(NAME)-Back.gbl $(NAME)-Mask_Back.gbs
105114        rm -f $(NAME)-SilkS_Back.gbo $(NAME)-SoldP_Back.gbp
106115        rm -f $(NAME)-Comments.gbr $(NAME)-Drawings.gbr
116        rm -f overview.png
107117
108118spotless: clean
109119        rm -f '$$'savepcb.brd

Archive Download the corresponding diff file



interactive