aboutsummaryrefslogtreecommitdiff
path: root/doc/Makefile
diff options
context:
space:
mode:
authordrowe67 <[email protected]>2023-11-19 07:14:04 +1030
committerDavid Rowe <[email protected]>2023-11-19 07:14:04 +1030
commit9bc86bc2c7fe516703bf3d1adb939657a405e966 (patch)
treefd218c08e45c45a2f7a09502036237b46e6dc845 /doc/Makefile
parent112f3b50f0fe132b2d59f8ce8f2c76af23fc25e9 (diff)
building up plot support
Diffstat (limited to 'doc/Makefile')
-rw-r--r--doc/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/Makefile b/doc/Makefile
new file mode 100644
index 0000000..3729f6a
--- /dev/null
+++ b/doc/Makefile
@@ -0,0 +1,15 @@
+# Makefile for codec2.pdf
+
+# set these externally with an env variable (e.g. for GitHub action) to override
+# defaults below. Need to run cmake with -DDUMP
+CODEC2_SRC ?= $(HOME)/codec2
+CODEC2_BINARY ?= $(HOME)/codec2/build_linux/src
+
+PATH := $(PATH):$(CODEC2_BINARY)
+
+PLOT_FILES := hts2a_37_sn.tex hts2a_37_sw.tex
+
+$(PLOT_FILES):
+ echo $(PATH)
+ c2sim $(CODEC2_SRC)/raw/hts2a.raw --dump hts2a
+ DISPLAY=""; printf "plamp('hts2a',f=37,epslatex=1)\nq\n" | octave-cli -qf -p $(CODEC2_SRC)/octave