1
0
mirror of git://projects.qi-hardware.com/kicad-libs.git synced 2024-06-28 08:36:42 +03:00

components/Makefile: improved dependencies; target "upload" to upload catalog

Upload location is
http://downloads.qi-hardware.com/people/werner/tmp/kicad-libs-components.pdf
This commit is contained in:
Werner Almesberger 2012-04-18 18:47:38 -03:00
parent 9a68e1b8cd
commit 8459988f80

View File

@ -4,7 +4,7 @@
# Note that we don't have the concept of a "library of everything" so far.
#
.PHONY: all sch catalog view missing clean spotless
.PHONY: all sch catalog view upload missing clean spotless
all: sch
@ -17,13 +17,16 @@ sch:
DESCR-dcm: *.dcm
../scripts/dcm2desc -L . >$@ || { rm -f $@; exit 1; }
catalog: DESCR-dcm
catalog catalog.pdf: EXPAND DESCR-dcm *.lib
genex -p -L . EXPAND DESCR-dcm >catalog.pdf || \
{ rm -f catalog.pdf; exit 1; }
view:
view: catalog.pdf
$${DSV_PDFVIEWER:-xpdf} catalog.pdf
upload: catalog.pdf
qippl catalog.pdf tmp/kicad-libs-components.pdf
missing:
../scripts/missing-in-tree -L . EXPAND