summaryrefslogtreecommitdiff
path: root/hw/Makefile
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-11-14 10:29:09 -0300
committerGenerated from internal repo <nobody@neo900.org>2016-11-14 10:29:09 -0300
commit94b844024f0d02a5b2ab1f6f834714772ff7fce6 (patch)
treef2ba9c9d59d8621c2416585be2190f3865605e07 /hw/Makefile
parentb48867285ec44187aeae11987a706406cb81ccca (diff)
downloadee-94b844024f0d02a5b2ab1f6f834714772ff7fce6.tar.gz
ee-94b844024f0d02a5b2ab1f6f834714772ff7fce6.tar.bz2
ee-94b844024f0d02a5b2ab1f6f834714772ff7fce6.zip
hw/Makefile: obtain list of sheets from neo900.sch (avoid now broken wildcard)
Diffstat (limited to 'hw/Makefile')
-rw-r--r--hw/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/Makefile b/hw/Makefile
index a602a66..242963c 100644
--- a/hw/Makefile
+++ b/hw/Makefile
@@ -45,12 +45,14 @@ pdf:
#----- Documentation ----------------------------------------------------------
+SHEETS = $(shell sed 's/^F1 "\([^"]*\)".*/\1/p;d' neo900.sch)
+
view: docdb.out
EESHOW_VIEWER=eeshow-viewer \
EESHOW_PDF_VIEWER=$${EESHOW_PDF_VIEWER:-xpdf} \
eeshow -N $${REVCOUNT:-30} -d docdb.out neo900.pro
-docdb.out: docdb.in neo900_SS_*.sch
+docdb.out: docdb.in $(SHEETS)
./gendocdb.pl -c -i $^ >$@ || { rm -f $@; exit 1; }
#----- Snapshots --------------------------------------------------------------