From 475ba2815821ec9d35e3268dbca0a4e8c196cca9 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Thu, 12 Jul 2012 16:33:50 -0300 Subject: [PATCH] modules/Makefile: generate list of .fpd files from variable MODULES ... instead of scanning the directory. Also commend out the two footprints currently not included in MODULES (zx62m-b-5p.fpd and dip4of6.fpd). --- modules/HIERARCHY | 4 ++-- modules/Makefile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/HIERARCHY b/modules/HIERARCHY index 57f37e8..33af970 100644 --- a/modules/HIERARCHY +++ b/modules/HIERARCHY @@ -42,7 +42,7 @@ Connector 8:10-SOCKET-RA miniUSB_B USB-A-PLUG-SMT - ZX62M-B-BP +# ZX62M-B-BP Header he-shrouded-2x2pins-2mm he-shrouded-3x2pins-2mm @@ -269,7 +269,7 @@ Dual TSOP-66 TH DIP-4-300mil - DIP-4/6-300mil +# DIP-4/6-300mil DIP-6-300mil DIP-8-300mil DIP-10-300mil diff --git a/modules/Makefile b/modules/Makefile index 68c277f..a07d38a 100644 --- a/modules/Makefile +++ b/modules/Makefile @@ -31,8 +31,8 @@ spotless: clean .fpd.mod: fped -k $< $@ -catalog catalog.pdf: HIERARCHY *.fpd - gencat -F -p -L . HIERARCHY >catalog.pdf || \ +catalog catalog.pdf: HIERARCHY $(MODULES:%=%.fpd) + gencat -F -p $(MODULES:%=-l %.fpd) HIERARCHY >catalog.pdf || \ { rm -f catalog.pdf; exit 1; } view: catalog.pdf