-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathMakefile
66 lines (59 loc) · 2.34 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
56
57
58
59
60
61
62
63
64
65
66
usage:
(cd DOCUMENTATION; make all install)
doc:
(cd DOCUMENTATION; make doc)
NCDocument.pdf:
(cd DOCUMENTATION; make NCDocument.pdf)
demos:
(cd DOCUMENTATION; make demos)
clean:
(cd DOCUMENTATION; make clean)
paclet:
rm -rf NCAlgebraPaclet
mkdir NCAlgebraPaclet
cp PacletInfo.wl NCAlgebraPaclet
mkdir NCAlgebraPaclet/NCAlgebra
cp -r NCAlgebra/*.m NCAlgebraPaclet/NCAlgebra/.
cp -r NCAlgebra/*.usage NCAlgebraPaclet/NCAlgebra/.
./addPacletPrefix.sh NCAlgebraPaclet NCAlgebra
mkdir NCAlgebraPaclet/NCExtras
cp -r NCExtras/*.m NCAlgebraPaclet/NCExtras/.
cp -r NCExtras/*.usage NCAlgebraPaclet/NCExtras/.
./addPacletPrefix.sh NCAlgebraPaclet NCExtras
mkdir NCAlgebraPaclet/NCPoly
cp -r NCPoly/*.m NCAlgebraPaclet/NCPoly/.
cp -r NCPoly/*.usage NCAlgebraPaclet/NCPoly/.
./addPacletPrefix.sh NCAlgebraPaclet NCPoly
mkdir NCAlgebraPaclet/NCSDP
cp -r NCSDP/*.m NCAlgebraPaclet/NCSDP/.
cp -r NCSDP/*.usage NCAlgebraPaclet/NCSDP/.
./addPacletPrefix.sh NCAlgebraPaclet NCSDP
mkdir NCAlgebraPaclet/NCTeX
cp -r NCTeX/*.m NCAlgebraPaclet/NCTeX/.
cp -r NCTeX/*.usage NCAlgebraPaclet/NCTeX/.
./addPacletPrefix.sh NCAlgebraPaclet NCTeX
mkdir NCAlgebraPaclet/TESTING
cp -r TESTING/*.m NCAlgebraPaclet/TESTING/.
cp -r TESTING/*.usage NCAlgebraPaclet/TESTING/.
cp TESTING/NC*TEST* NCAlgebraPaclet/TESTING
mkdir NCAlgebraPaclet/TESTING/NCAlgebra
cp -r TESTING/NCAlgebra/*.NCTest NCAlgebraPaclet/TESTING/NCAlgebra/.
mkdir NCAlgebraPaclet/TESTING/NCPoly
cp -r TESTING/NCPoly/*.NCTest NCAlgebraPaclet/TESTING/NCPoly/.
cp -r TESTING/NCPoly/TestProblems NCAlgebraPaclet/TESTING/NCPoly/.
cp -r TESTING/NCPoly/TestResults NCAlgebraPaclet/TESTING/NCPoly/.
mkdir NCAlgebraPaclet/TESTING/NCSDP
cp -r TESTING/NCSDP/*.NCTest NCAlgebraPaclet/TESTING/NCSDP/.
cp -r TESTING/NCSDP/data NCAlgebraPaclet/TESTING/NCSDP/.
./addPacletPrefix.sh NCAlgebraPaclet TESTING
cp NCAlgebra/banner.txt NCAlgebraPaclet/.
deploy: paclet
echo 'Print["\n> CREATING PACLET ARCHIVE..."]; CreatePacletArchive["NCAlgebraPaclet"]; Print["> DONE!"]; Quit[];' | math
test:
math < TESTING/NCCORETEST.m
@echo "> Press [Enter] to continue"; read nothing
math < TESTING/NCPOLYTEST.m
@echo "> Press [Enter] to continue"; read nothing
math < TESTING/NCPOLYTESTGB.m
@echo "> Press [Enter] to continue"; read nothing
math < TESTING/NCSDPTEST.m