blob: 65756c1274256fef7a76b357634df42681133592 (
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
32
33
34
35
36
|
## This file is part of dvisvgm
## Copyright (C) 2005-2011 Martin Gieseking <martin.gieseking@uos.de>
##
## Process this file with automake.
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
|