Commit 39b9985a authored by Steve Beattie's avatar Steve Beattie

utils: make html version of apparmor.vim manpage


In the move of the apparmor.vim manpage source from the parser
directory to utils/vim/, the creation of the html version of the
manpage was lost.  This patch fixes that, as well as fixes the vim
Makefile to use the common/Make.rules _clean target (which clears the
pod2htm*.tmp files created by pod2html as well).

It also fixes a bug in common/Make.rules where the _clean target
would report an error when used in a directory where the Makefile
doesn't set the NAME variable, such as utils/vim/.
Signed-off-by: Steve Beattie's avatarSteve Beattie <>
Acked-by: Christian Boltz's avatarChristian Boltz <>
parent 2758e2e2
......@@ -172,7 +172,7 @@ $(BUILDRPMSUBDIRS):
.PHONY: _clean
.SILENT: _clean
-rm -f ${NAME}-${VERSION}-*.tar.gz
-[ -z "${NAME}" ] || rm -f ${NAME}-${VERSION}-*.tar.gz
-rm -f ${MANPAGES} *.[0-9].gz ${HTMLMANPAGES} pod2htm*.tmp
# =====================
......@@ -12,13 +12,15 @@ endif
all: apparmor.vim manpages
all: apparmor.vim manpages htmlmanpages
apparmor.vim: Makefile
${PYTHON} > apparmor.vim
manpages: $(MANPAGES)
htmlmanpages: $(HTMLMANPAGES)
install: apparmor.vim manpages
install -d $(VIM_INSTALL_PATH)
install -m 644 $< $(VIM_INSTALL_PATH)
......@@ -29,5 +31,5 @@ check: check_pod_files
#Testing with all pythons
$(call pyalldo, > /dev/null)
rm -f apparmor.vim common $(MANPAGES)
clean: _clean
rm -f apparmor.vim common
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment