mirror of
git://projects.qi-hardware.com/kicad-libs.git
synced 2024-11-29 10:51:32 +02:00
3e7c34bb66
Reuses DSV_PDFVIEWER, if set.
38 lines
653 B
Makefile
38 lines
653 B
Makefile
#
|
|
# From http://svn.openmoko.org/trunk/gta02-core/components/
|
|
#
|
|
# Note that we don't have the concept of a "library of everything" so far.
|
|
#
|
|
|
|
.PHONY: all sch catalog view missing clean spotless
|
|
|
|
all: sch
|
|
|
|
# @echo "make what ? targets: sch loe"
|
|
# @exit 1
|
|
|
|
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; }
|
|
|
|
view:
|
|
$${DSV_PDFVIEWER:-xpdf} catalog.pdf
|
|
|
|
missing:
|
|
../scripts/missing-in-tree -L . EXPAND
|
|
|
|
#loe:
|
|
# ./mkloe
|
|
|
|
clean:
|
|
rm -f DESCR-dcm
|
|
|
|
spotless: clean
|
|
rm -f catalog.pdf
|