summaryrefslogtreecommitdiff
path: root/hw/Makefile
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-07-18 00:44:57 -0300
committerGenerated from internal repo <nobody@neo900.org>2016-07-18 00:44:57 -0300
commit51f534046f6078d3c856810774d54487d42a63e6 (patch)
tree7564bb00a71d5eab1a4879e7cea5b4f9e5b35d59 /hw/Makefile
parent0de8e174c18f9b32764fc0aaebb75932935ef1d6 (diff)
downloadee-51f534046f6078d3c856810774d54487d42a63e6.tar.gz
ee-51f534046f6078d3c856810774d54487d42a63e6.tar.bz2
ee-51f534046f6078d3c856810774d54487d42a63e6.zip
hw/Makefile (pdf): generate PDF with table of contents
Diffstat (limited to 'hw/Makefile')
-rw-r--r--hw/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/hw/Makefile b/hw/Makefile
index 0bad68c..aad5948 100644
--- a/hw/Makefile
+++ b/hw/Makefile
@@ -1,6 +1,11 @@
NAME = neo900
+SCHTOC = ../../misc-pub/schtoc/schtoc.pl
-.PHONY: sch
+.PHONY: sch pdf
sch:
eeschema $(NAME).sch
+
+pdf:
+ $(SCHTOC) neo900.sch neo900.pdf >neo900-toc.pdf || \
+ { rm -f neo900-toc.pdf; exit 1; }