1
0
mirror of git://projects.qi-hardware.com/kicad-libs.git synced 2024-11-16 15:15:20 +02:00

components/Makefile: new targets "catalog", "clean", and "spotless"

"catalog" generates a catalog using genex.
This commit is contained in:
Werner Almesberger 2012-04-17 21:29:53 -03:00
parent 33f9ac4876
commit 03ca12f429

View File

@ -4,7 +4,7 @@
# 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
@ -14,5 +14,18 @@ all: sch
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:
# ./mkloe
clean:
rm -f DESCR-dcm
spotless: clean
rm -f catalog.pdf