mirror of
git://projects.qi-hardware.com/kicad-libs.git
synced 2025-04-21 12:17:26 +03:00
modules/: first elements for catalog creation (WIP)
There are still the following problems to solve: - the index needs wider columns since footprint names tend to be longer than component names, - some things are too big and need scaling (maybe fix this in fped), - the antenna without "tail" produces one of those zero-width pads fped likes so much
This commit is contained in:
@@ -18,7 +18,7 @@ MODULES=8_10-card 8_10-socket-ra \
|
||||
xtal-2 xtal-4 \
|
||||
|
||||
.SUFFIXES: .fpd .mod
|
||||
.PHONY: all clean
|
||||
.PHONY: all catalog view upload clean
|
||||
|
||||
all: $(MODULES:%=%.mod)
|
||||
|
||||
@@ -30,3 +30,13 @@ spotless: clean
|
||||
|
||||
.fpd.mod:
|
||||
fped -k $< $@
|
||||
|
||||
catalog catalog.pdf: HIERARCHY *.fpd
|
||||
gencat -F -p -L . HIERARCHY >catalog.pdf || \
|
||||
{ rm -f catalog.pdf; exit 1; }
|
||||
|
||||
view: catalog.pdf
|
||||
$${DSV_PDFVIEWER:-xpdf} catalog.pdf
|
||||
|
||||
upload: catalog.pdf
|
||||
qippl catalog.pdf tmp/kicad-libs-modules.pdf
|
||||
|
||||
Reference in New Issue
Block a user