File: Makefile.am

package info (click to toggle)
apparmor 4.1.6-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 29,884 kB
  • sloc: ansic: 24,945; python: 24,914; cpp: 9,140; sh: 8,175; yacc: 2,061; makefile: 1,908; lex: 1,215; pascal: 1,147; perl: 1,033; ruby: 365; lisp: 282; exp: 250; java: 212; xml: 159
file content (35 lines) | stat: -rw-r--r-- 800 bytes parent folder | download | duplicates (8)
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
## Process this file with automake to produce Makefile.in

POD2MAN = pod2man
PODCHECKER = podchecker

if ENABLE_MAN_PAGES

man_MANS = aa_change_hat.2 aa_change_profile.2 aa_stack_profile.2 aa_getcon.2 aa_find_mountpoint.2 aa_splitcon.3 aa_query_label.2 aa_features.3 aa_kernel_interface.3 aa_policy_cache.3

PODS = $(subst .2,.pod,$(man_MANS)) $(subst .3,.pod,$(man_MANS))

EXTRA_DIST = $(man_MANS) $(PODS)

## delete man pages at make clean
CLEANFILES = $(man_MANS)

%.2: %.pod
	$(PODCHECKER) -warnings -warnings $<
	$(POD2MAN) \
		--section=2 \
		--release="AppArmor $(VERSION)" \
		--center="AppArmor" \
		--stderr \
		$< > $@

%.3: %.pod
	$(PODCHECKER) -warnings -warnings $<
	$(POD2MAN) \
		--section=3 \
		--release="AppArmor $(VERSION)" \
		--center="AppArmor" \
		--stderr \
		$< > $@

endif