summaryrefslogtreecommitdiffstats
path: root/doc/Makefile.am
blob: 9adb025ef1d15e80e247ab7c64080c1e5f1c9a32 (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: po4a makepkg.8 PKGBUILD.8 pacman.8

SUBDIRS = hu

po4a:
if HAS_PO4A
	@$(NORMAL_INSTALL)
	po4a -k 0 po4a.cfg
endif

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

PKGBUILD.8:
	man2html PKGBUILD.8 > html/PKGBUILD.8.html

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

clean:
	rm -f html/*
	rm -f hu/*.8
	rm -f man3/*.3

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

if HAS_DOXYGEN
man_MANS += man3/*.3
endif

EXTRA_DIST = $(man_MANS)