From 8459988f804f5a32249a782a3ffe5ef965209cb0 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Wed, 18 Apr 2012 18:47:38 -0300 Subject: [PATCH] components/Makefile: improved dependencies; target "upload" to upload catalog Upload location is http://downloads.qi-hardware.com/people/werner/tmp/kicad-libs-components.pdf --- components/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/components/Makefile b/components/Makefile index 440f13a..3377813 100644 --- a/components/Makefile +++ b/components/Makefile @@ -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