aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authordrowe67 <[email protected]>2023-12-11 09:15:47 +1030
committerDavid Rowe <[email protected]>2023-12-11 09:15:47 +1030
commitea0379f375fee5f9574a51a797025aa5e9390db8 (patch)
tree37548e848988f17f51e1af78afb5a13eddef348c /doc
parent7e88771a42998b2dc4e65f631e07fbb0679548c2 (diff)
ctest, README.md, first pass at github action
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile12
-rw-r--r--doc/codec2.pdfbin322270 -> 322353 bytes
2 files changed, 7 insertions, 5 deletions
diff --git a/doc/Makefile b/doc/Makefile
index 1eaab1b..606d05f 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -1,7 +1,7 @@
# Makefile for codec2.pdf
#
# usage:
-# Build codec2 with -DDUMP (see README)
+# Build codec2 with -DUNITEST=1 (see README)
# cd ~/codec2/doc
# make
@@ -9,14 +9,16 @@
# defaults below. Need to run cmake with -DDUMP
CODEC2_SRC ?= $(HOME)/codec2
-CODEC2_BINARY ?= $(HOME)/codec2/build_linux/src
+CODEC2_BINARY ?= $(HOME)/codec2/build_linux
-PATH := $(PATH):$(CODEC2_BINARY)
+PATH := $(PATH):$(CODEC2_BINARY)/src
DOCNAME := codec2
PLOT_FILES := hts2a_37_sn.tex hts2a_37_sw.tex hts2a_37_lpc_lsp.tex hts2a_37_lpc_pf.tex
-$(DOCNAME).pdf: $(PLOT_FILES) $(DOCNAME).tex $(DOCNAME)_refs.bib
+# For automated tests we always want to build the PDF, despite codec2.pdf existing in the repo
+.PHONY: pdf
+pdf: $(PLOT_FILES) $(DOCNAME).tex $(DOCNAME)_refs.bib
pdflatex $(DOCNAME).tex
bibtex $(DOCNAME).aux
pdflatex $(DOCNAME).tex
@@ -29,4 +31,4 @@ $(PLOT_FILES):
.PHONY: clean
clean:
- rm *.blg *.bbl *.aux *.log $(DOCNAME).pdf \ No newline at end of file
+ rm -f *.blg *.bbl *.aux *.log *.out $(DOCNAME).pdf hts2a* \ No newline at end of file
diff --git a/doc/codec2.pdf b/doc/codec2.pdf
index ae71c92..ac2e63c 100644
--- a/doc/codec2.pdf
+++ b/doc/codec2.pdf
Binary files differ