mirror of
git://projects.qi-hardware.com/kicad-libs.git
synced 2024-11-16 17:06:14 +02:00
components/Makefile: new targets "catalog", "clean", and "spotless"
"catalog" generates a catalog using genex.
This commit is contained in:
parent
33f9ac4876
commit
03ca12f429
@ -4,7 +4,7 @@
|
|||||||
# Note that we don't have the concept of a "library of everything" so far.
|
# Note that we don't have the concept of a "library of everything" so far.
|
||||||
#
|
#
|
||||||
|
|
||||||
.PHONY: all sch
|
.PHONY: all sch catalog clean spotless
|
||||||
|
|
||||||
all: sch
|
all: sch
|
||||||
|
|
||||||
@ -14,5 +14,18 @@ all: sch
|
|||||||
sch:
|
sch:
|
||||||
eeschema `pwd`/components.sch
|
eeschema `pwd`/components.sch
|
||||||
|
|
||||||
|
DESCR-dcm: *.dcm
|
||||||
|
../scripts/dcm2desc -L . >$@ || { rm -f $@; exit 1; }
|
||||||
|
|
||||||
|
catalog: DESCR-dcm
|
||||||
|
genex -p -L . EXPAND DESCR-dcm >catalog.pdf || \
|
||||||
|
{ rm -f catalog.pdf; exit 1; }
|
||||||
|
|
||||||
#loe:
|
#loe:
|
||||||
# ./mkloe
|
# ./mkloe
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f DESCR-dcm
|
||||||
|
|
||||||
|
spotless: clean
|
||||||
|
rm -f catalog.pdf
|
||||||
|
Loading…
Reference in New Issue
Block a user