summaryrefslogtreecommitdiffstats
path: root/doc/Makefile.am
blob: cd6cdf15f53c1dfb6804e18141ab17e9d8a0c02d (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
all: makepkg.8 pacman.8 PKGBUILD.5 makepkg.conf.5 pacman.conf.5

if HAS_MAN2HTML
makepkg.8:
	man2html makepkg.8 > html/makepkg.8.html

pacman.8:
	man2html pacman.8 > html/pacman.8.html

PKGBUILD.5:
	man2html PKGBUILD.5 > html/PKGBUILD.5.html

makepkg.conf.5:
	man2html makepkg.8 > html/makepkg.8.html

pacman.conf.5:
	man2html pacman.conf.5 > html/pacman.conf.5.html

endif

clean:
	rm -f html/*.html
	rm -f man3/*.3
	rm -f man5/*.5
	rm -f man8/*.8

man_MANS = pacman.8 makepkg.8 PKGBUILD.5 makepkg.conf.5 pacman.conf.5 libalpm.3

if HAS_DOXYGEN
man_MANS += *.3
endif

EXTRA_DIST = $(man_MANS)