1
2
3
4
5
6
7
8
|
all : html/megatest.html megatest.pdf
html/megatest.html : megatest.lyx
elyxer megatest.lyx html/megatest.html
fossil add html/*
megatest.pdf : megatest.lyx
lyx -e pdf2 megatest.lyx
|
>
>
>
>
>
>
>
>
|
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
ASCPATH = $(shell which asciidoc)
EXEPATH = $(shell readlink -f $(ASCPATH))
BINPATH = $(shell dirname $(EXEPATH))
DISPATH = $(shell dirname $(BINPATH))
api.html : api.txt
asciidoc -b html5 -a icons -a iconsdir=$(DISPATH)/images/icons -a toc2 api.txt
# all : html/megatest.html megatest.pdf
html/megatest.html : megatest.lyx
elyxer megatest.lyx html/megatest.html
fossil add html/*
megatest.pdf : megatest.lyx
lyx -e pdf2 megatest.lyx
|