2011-07-24 11:26:05 +03:00
|
|
|
#
|
|
|
|
# From http://svn.openmoko.org/trunk/gta02-core/components/
|
|
|
|
#
|
|
|
|
# Note that we don't have the concept of a "library of everything" so far.
|
|
|
|
#
|
|
|
|
|
2012-04-18 04:28:13 +03:00
|
|
|
.PHONY: all sch catalog view missing clean spotless
|
2011-07-24 11:26:05 +03:00
|
|
|
|
|
|
|
all: sch
|
|
|
|
|
|
|
|
# @echo "make what ? targets: sch loe"
|
|
|
|
# @exit 1
|
|
|
|
|
|
|
|
sch:
|
|
|
|
eeschema `pwd`/components.sch
|
|
|
|
|
2012-04-18 03:29:53 +03:00
|
|
|
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; }
|
|
|
|
|
2012-04-18 04:28:13 +03:00
|
|
|
view:
|
|
|
|
$${DSV_PDFVIEWER:-xpdf} catalog.pdf
|
|
|
|
|
2012-04-18 04:19:40 +03:00
|
|
|
missing:
|
|
|
|
../scripts/missing-in-tree -L . EXPAND
|
|
|
|
|
2011-07-24 11:26:05 +03:00
|
|
|
#loe:
|
|
|
|
# ./mkloe
|
2012-04-18 03:29:53 +03:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f DESCR-dcm
|
|
|
|
|
|
|
|
spotless: clean
|
|
|
|
rm -f catalog.pdf
|