1
0
mirror of git://projects.qi-hardware.com/kicad-libs.git synced 2024-12-01 19:54:03 +02:00

components/Makefile: new target "view" to view the catalog

Reuses DSV_PDFVIEWER, if set.
This commit is contained in:
Werner Almesberger 2012-04-17 22:28:13 -03:00
parent f1474c036a
commit 3e7c34bb66

View File

@ -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 catalog missing clean spotless .PHONY: all sch catalog view missing clean spotless
all: sch all: sch
@ -21,6 +21,9 @@ catalog: DESCR-dcm
genex -p -L . EXPAND DESCR-dcm >catalog.pdf || \ genex -p -L . EXPAND DESCR-dcm >catalog.pdf || \
{ rm -f catalog.pdf; exit 1; } { rm -f catalog.pdf; exit 1; }
view:
$${DSV_PDFVIEWER:-xpdf} catalog.pdf
missing: missing:
../scripts/missing-in-tree -L . EXPAND ../scripts/missing-in-tree -L . EXPAND