summaryrefslogtreecommitdiff
path: root/hw/Makefile
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-10-16 10:02:34 -0300
committerGenerated from internal repo <nobody@neo900.org>2016-10-16 10:02:34 -0300
commit1ca2f74858874a29609bf76c04ba8d72e5a69e0b (patch)
treec79a380d55774dcb8fb767e7dd55a4634c881681 /hw/Makefile
parent7b8daa8067b67bdb565c57e4ac6f762ef8791ba8 (diff)
downloadee-1ca2f74858874a29609bf76c04ba8d72e5a69e0b.tar.gz
ee-1ca2f74858874a29609bf76c04ba8d72e5a69e0b.tar.bz2
ee-1ca2f74858874a29609bf76c04ba8d72e5a69e0b.zip
hw/Makefile, docdb.in, gendocdb.pl: experimental documentation system
For now, for use with eeshow only.
Diffstat (limited to 'hw/Makefile')
-rw-r--r--hw/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/hw/Makefile b/hw/Makefile
index 91975cf..6ec2bba 100644
--- a/hw/Makefile
+++ b/hw/Makefile
@@ -1,7 +1,7 @@
NAME = neo900
SCHTOC = ../../misc/schtoc/schtoc.pl
-.PHONY: pull sync sch sort brd pdf
+.PHONY: pull sync sch sort brd pdf view
.PHONY: upload upload-pdf upload-tar upload-zip clean
#----- Repository helpers -----------------------------------------------------
@@ -36,6 +36,14 @@ pdf:
$(SCHTOC) -n -z neo900.sch neo900.pdf >neo900-toc.pdf || \
{ rm -f neo900-toc.pdf; exit 1; }
+#----- Documentation ----------------------------------------------------------
+
+view: docdb.out
+ eeshow -N 30 -d docdb.out neo900.pro
+
+docdb.out: docdb.in neo900_SS_*.sch
+ ./gendocdb.pl $^ >$@ || { rm -f $@; exit 1; }
+
#----- Snapshots --------------------------------------------------------------
DATE = $(shell date -u +"%Y%m%d-%H%MZ")
@@ -83,3 +91,4 @@ upload-zip:
clean:
rm -f _tmp
+ rm -f dbdoc.out