Skip to content

Commit ad38fee

Browse files
committed
Add basic Makefile
1 parent 0f16fc3 commit ad38fee

File tree

2 files changed

+16
-9
lines changed

2 files changed

+16
-9
lines changed

.gitignore

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,3 @@
2121
/doc/_*.xml
2222
/doc/title.xml
2323
/doc/ClassicalMaximals.xml
24-
25-
/bin/
26-
/gen/
27-
/Makefile
28-
29-
/tmp/
30-
/gh-pages/
31-
32-
tags

Makefile

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
.PHONY: doc html clean check
2+
3+
GAP ?= gap
4+
GAP_ARGS = -q --quitonbreak --packagedirs $(abspath .)
5+
6+
doc:
7+
$(GAP) $(GAP_ARGS) makedoc.g -c 'QUIT;'
8+
9+
html:
10+
NOPDF=1 $(GAP) $(GAP_ARGS) makedoc.g -c 'QUIT;'
11+
12+
clean:
13+
cd doc && rm -f *.{aux,lab,log,dvi,ps,pdf,bbl,ilg,ind,idx,out,html,tex,pnr,txt,blg,toc,six,brf,css,js} _*.xml title.xml
14+
15+
check:
16+
$(GAP) $(GAP_ARGS) tst/testall.g

0 commit comments

Comments
 (0)