blob: e9c79906fde1e21a0f2f457ceac7e8d6d562ba2b (
plain)
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
|
man_MANS = dvisvgm.1
EXTRA_DIST = $(man_MANS)
dvisvgm.1: dvisvgm.txt
if [ `type -p a2x` ]; then \
a2x -dmanpage -fmanpage -L -a icons -a 'iconsdir=.' $<; \
rm -f dvisvgm.xml; \
fi
dvisvgm.pdf: dvisvgm.1
man -t ./$< | ps2pdf - $@
dvi-pdf: dvisvgm.dvi
dvipdfm $<
rm -f $<
dvisvgm.dvi: dvisvgm.1
groff -Tdvi -mandoc ./$< >$@
dvisvgm.html: dvisvgm.txt
asciidoc -a icons -a 'iconsdir=.' -a badges -a 'revnumber=@VERSION@' --unsafe -dmanpage $<
html: dvisvgm.html
man: dvisvgm.1
pdf: dvisvgm.pdf
clean:
rm -f dvisvgm.pdf dvisvgm.html dvisvgm.xml dvisvgm.1 dvisvgm.txt
distclean-local:
rm -f dvisvgm.1
|