1
0
mirror of git://projects.qi-hardware.com/kicad-libs.git synced 2025-04-21 12:17:26 +03:00

components/: generate for connectors CONN_1 to CONN_40X2 (in gencon.lib)

This creates name collisions with manually created connectors in
con.lib, which we may want to resolve.
This commit is contained in:
Werner Almesberger
2012-06-09 22:28:58 -03:00
parent 86ce0c06e6
commit 78640707f4
4 changed files with 130 additions and 4 deletions

View File

@@ -4,6 +4,8 @@
# Note that we don't have the concept of a "library of everything" so far.
#
GEN = gencon.lib
.PHONY: all sch catalog view upload missing clean spotless
all: sch
@@ -11,13 +13,13 @@ all: sch
# @echo "make what ? targets: sch loe"
# @exit 1
sch:
sch: $(GEN)
eeschema `pwd`/components.sch
DESCR-dcm: *.dcm
../scripts/dcm2desc -L . >$@ || { rm -f $@; exit 1; }
catalog catalog.pdf: EXPAND DESCR-dcm *.lib
catalog catalog.pdf: EXPAND DESCR-dcm *.lib $(GEN)
genex -p -L . EXPAND DESCR-dcm >catalog.pdf || \
{ rm -f catalog.pdf; exit 1; }
@@ -27,9 +29,12 @@ view: catalog.pdf
upload: catalog.pdf
qippl catalog.pdf tmp/kicad-libs-components.pdf
missing:
missing: $(GEN)
../scripts/missing-in-tree -L . EXPAND
%.lib: %.pl
./$< >$@ || { rm -f $@; exit 1; }
#loe:
# ./mkloe
@@ -37,4 +42,4 @@ clean:
rm -f DESCR-dcm
spotless: clean
rm -f catalog.pdf
rm -f catalog.pdf $(GEN)