mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-05 17:01:00 +01:00

Get rid of the relics in libapparmor's Makefile.am for generating tarballs from svn, which is no longer relevant. Also clean generated manpages during make clean rather than just make maintainer-clean.
26 lines
504 B
Makefile
26 lines
504 B
Makefile
## 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_getcon.2 aa_find_mountpoint.2
|
|
|
|
PODS = $(subst .2,.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 \
|
|
$< > $@
|
|
|
|
endif
|