build: remove manpage files during make clean

This commit is contained in:
Jan Engelhardt
2013-06-02 16:48:56 +02:00
parent 13db8d78c9
commit d582cc04df
2 changed files with 8 additions and 0 deletions

View File

@@ -14,6 +14,11 @@ xtables-addons.8: FORCE
install-exec-hook:
depmod -a || :;
clean-local-mans:
${MAKE} -f Makefile.mans clean;
clean-local: clean-local-mans
config.status: Makefile.iptrules.in
tmpdir := $(shell mktemp -dtu)

View File

@@ -38,3 +38,6 @@ matches.man: .manpages.lst ${wcman_matches}
targets.man: .manpages.lst ${wcman_targets}
$(call man_run,${wlist_targets})
clean:
rm -f xtables-addons.8 matches.man targets.man