aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-05-09 05:21:33 +0200
committerMattias Andrée <maandree@kth.se>2016-05-09 05:36:40 +0200
commitd6206bd03f351333ceb83ddb403e1f3ffb0bbfe4 (patch)
treeff9817d54bc5c4d780d0a10960a8c16ba66b39e9 /Makefile
parentFix typos found by Marc (diff)
downloadlibzahl-d6206bd03f351333ceb83ddb403e1f3ffb0bbfe4.tar.gz
libzahl-d6206bd03f351333ceb83ddb403e1f3ffb0bbfe4.tar.bz2
libzahl-d6206bd03f351333ceb83ddb403e1f3ffb0bbfe4.tar.xz
Start on a manual
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 13 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 15a41e9..404bf1b 100644
--- a/Makefile
+++ b/Makefile
@@ -69,7 +69,13 @@ INLINE_FUN =\
zzero
DOC =\
- refsheet.pdf
+ refsheet.pdf\
+ libzahl.pdf
+
+TEXSRC =\
+ doc/libzahl.tex\
+ doc/what-is-libzahl.tex\
+ doc/libzahls-design.tex
HDR_PUBLIC = zahl.h $(HDR_SEMIPUBLIC)
HDR = $(HDR_PUBLIC) $(HDR_PRIVATE)
@@ -150,6 +156,10 @@ refsheet.pdf: doc/refsheet.tex
pdflatex doc/refsheet.tex </dev/null
pdflatex doc/refsheet.tex </dev/null
+libzahl.pdf: $(TEXSRC)
+ pdflatex doc/libzahl.tex </dev/null
+ pdflatex doc/libzahl.tex </dev/null
+
check: test
./test
@@ -182,7 +192,8 @@ uninstall:
clean:
-rm -- *.o *.su *.a *.so test test-random.c 2>/dev/null
-rm -- benchmark benchmark-zrand benchmark-func 2>/dev/null
- -rm -- *.aux *.log *.out 2>/dev/null
+ -rm -- *.aux *.log *.out *.idx *.maf *.mtc* *.toc 2>/dev/null
-rm -- refsheet.pdf refsheet.dvi refsheet.ps 2>/dev/null
+ -rm -- libzahl.pdf libzahl.dvi libzahl.ps 2>/dev/null
.PHONY: all check clean install uninstall