mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-28 04:47:53 +00:00
Since the Makefile cleanup, the _clean target is only used to delete manpages etc. generated from *.pod files. This patch renames the _clean target to pod_clean to make it obvious what it does. Acked-by: John Johansen <john.johansen@canonical.com>
30 lines
645 B
Makefile
30 lines
645 B
Makefile
COMMONDIR=../../common/
|
|
|
|
all:
|
|
include $(COMMONDIR)/Make.rules
|
|
|
|
MANPAGES=apparmor.vim.5
|
|
VIM_INSTALL_PATH=${DESTDIR}/usr/share/apparmor
|
|
|
|
all: apparmor.vim manpages htmlmanpages
|
|
|
|
apparmor.vim: apparmor.vim.in Makefile create-apparmor.vim.py
|
|
${PYTHON} create-apparmor.vim.py > apparmor.vim
|
|
|
|
manpages: $(MANPAGES)
|
|
|
|
htmlmanpages: $(HTMLMANPAGES)
|
|
|
|
install: apparmor.vim manpages
|
|
install -d $(VIM_INSTALL_PATH)
|
|
install -m 644 $< $(VIM_INSTALL_PATH)
|
|
$(MAKE) install_manpages DESTDIR=${DESTDIR}
|
|
|
|
.PHONY: check
|
|
check: check_pod_files
|
|
#Testing with all pythons
|
|
$(call pyalldo, create-apparmor.vim.py > /dev/null)
|
|
|
|
clean: pod_clean
|
|
rm -f apparmor.vim
|