repo.or.cz
/
supybook.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Split 'tidier bot replies'.
[supybook.git]
/
Makefile
blob
ea4a0ecf94cf9c89af3b7d079c08410d972338fa
1
PARAMS
=-
a toc
-
a toclevels
=
3
-
a date
=$(
shell
date
+%
Y-
%
m-
%
d
) -
a numbered
-
d book
2
ifdef
REVISION
3
PARAMS
+=-
a revision
=$(
REVISION
)
4
#else
5
#PARAMS+=-a revision=$(shell git describe)
6
endif
7
8
all
:
index.html
9
10
pdf
:
index.pdf
11
12
%
.html
: %
.txt
13
asciidoc
$(
PARAMS
) $<
14
15
%
.pdf
: %
.txt
16
a2x
$(
PARAMS
) -
f pdf
$<
17
18
clean
:
19
@
$(
RM
)
index.html
20
21
.PHONY
:
all
pdf