-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
55 lines (55 loc) · 2.1 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
SHELL = /bin/bash
#-------------------------------------------------------------------------------
.PHONY: cadabra install pdf expected tests
#-------------------------------------------------------------------------------
all:
@ make install
@ make cadabra
@ make pdf
@ make veryclean
#-------------------------------------------------------------------------------
install:
@ echo "> make intsall ..."
@ (cd hybrid-latex; INSTALL.sh)
#-------------------------------------------------------------------------------
cadabra:
@ echo "> make cadabra ..."
@ (cd source/cadabra; make)
@ (cd source/tex; make)
#-------------------------------------------------------------------------------
pdf:
@ echo "> copy pdf ..."
@ (cp source/tex/paper.pdf pdf/.)
@ (cp source/cadabra/collection.pdf pdf/.)
@ (cp source/cadabra/summary.pdf pdf/.)
#-------------------------------------------------------------------------------
expected:
@ echo "> make expected ..."
@ (cd source/cadabra; make expected)
#-------------------------------------------------------------------------------
tests:
@ echo "> make tests ..."
@ (cd source/cadabra; make tests)
#-------------------------------------------------------------------------------
rm-dot:
@ (cd source/cadabra; make rm-dot)
@ (cd source/tex; make rm-dot)
#-------------------------------------------------------------------------------
clean:
@ (cd source/cadabra; make clean)
@ (cd source/tex; make clean)
#-------------------------------------------------------------------------------
veryclean:
@ (cd source/cadabra; make veryclean)
@ (cd source/tex; make veryclean)
#-------------------------------------------------------------------------------
pristine:
@ rm -rf pdf/*
@ (cd source/cadabra; make pristine)
@ (cd source/tex; make pristine)
#-------------------------------------------------------------------------------
github:
@ rm -rf pdf/*
@ (cd hybrid-latex; INSTALL.sh)
@ (cd source/cadabra; make github)
@ (cd source/tex; make github)