summaryrefslogtreecommitdiff
path: root/hw/Makefile
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-11-08 11:08:52 -0300
committerGenerated from internal repo <nobody@neo900.org>2016-11-08 11:08:52 -0300
commit0d77ff5f6b2b8b9a981c895a666bb6a8a0032e8f (patch)
tree378dadf948a429fb1696a2dc72cd3100c88cd952 /hw/Makefile
parent23f2775cbe74bf65df6952ec6dff23766f6eef7b (diff)
downloadee-0d77ff5f6b2b8b9a981c895a666bb6a8a0032e8f.tar.gz
ee-0d77ff5f6b2b8b9a981c895a666bb6a8a0032e8f.tar.bz2
ee-0d77ff5f6b2b8b9a981c895a666bb6a8a0032e8f.zip
hw/Makefile (pdf): use eeplot
Diffstat (limited to 'hw/Makefile')
-rw-r--r--hw/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/hw/Makefile b/hw/Makefile
index 06a002d..c7640ec 100644
--- a/hw/Makefile
+++ b/hw/Makefile
@@ -1,5 +1,5 @@
NAME = neo900
-SCHTOC = ../../misc/schtoc/schtoc.pl
+#SCHTOC = ../../misc/schtoc/schtoc.pl
.PHONY: pull sync sch sort brd pdf view
.PHONY: upload upload-all upload-pdf upload-tar upload-zip clean
@@ -32,9 +32,16 @@ brd:
pcbnew $(NAME).kicad_pcb
sed -i '/(diff_pair_/d' $(NAME).kicad_pcb
+#
+# Warning: "make pdf' generates the PDF from the current files, which means
+# that also the date comes from the files, not the repository. If you want
+# to change this, use HEAD:neo900.pro instead of neo900.pdf
+#
+
pdf:
- $(SCHTOC) -n -z neo900.sch neo900.pdf >neo900-toc.pdf || \
- { rm -f neo900-toc.pdf; exit 1; }
+ TZ=UTC eeplot -n -d "%{%F %T}s" neo900.pro -o neo900.pdf
+# $(SCHTOC) -n -z neo900.sch neo900.pdf >neo900-toc.pdf || \
+# { rm -f neo900-toc.pdf; exit 1; }
#----- Documentation ----------------------------------------------------------