From 9f1ba65471c48227a1a3939e74f4e305d32a7dea Mon Sep 17 00:00:00 2001 From: Christian Boltz Date: Fri, 30 Jan 2015 22:15:53 +0100 Subject: [PATCH] rename _clean to pod_clean in Makefiles 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 --- changehat/mod_apparmor/Makefile | 2 +- common/Make.rules | 6 +++--- deprecated/utils/Makefile | 2 +- parser/Makefile | 2 +- utils/Makefile | 2 +- utils/vim/Makefile | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/changehat/mod_apparmor/Makefile b/changehat/mod_apparmor/Makefile index 1adaacc07..29bf06110 100644 --- a/changehat/mod_apparmor/Makefile +++ b/changehat/mod_apparmor/Makefile @@ -86,7 +86,7 @@ install: ${TARGET} ${MANPAGES} make install_manpages DESTDIR=${DESTDIR} .PHONY: clean -clean: _clean +clean: pod_clean rm -rf .libs rm -f *.la *.lo *.so *.o *.slo diff --git a/common/Make.rules b/common/Make.rules index b8ac7e0b8..3be487ec8 100644 --- a/common/Make.rules +++ b/common/Make.rules @@ -68,11 +68,11 @@ version: repo_version: $(value REPO_VERSION_CMD) -.PHONY: _clean +.PHONY: pod_clean ifndef VERBOSE -.SILENT: _clean +.SILENT: pod_clean endif -_clean: +pod_clean: -rm -f ${MANPAGES} *.[0-9].gz ${HTMLMANPAGES} pod2htm*.tmp # ===================== diff --git a/deprecated/utils/Makefile b/deprecated/utils/Makefile index 27f66f9ce..393d2d4a0 100644 --- a/deprecated/utils/Makefile +++ b/deprecated/utils/Makefile @@ -50,7 +50,7 @@ install: ifndef VERBOSE .SILENT: clean endif -clean: _clean +clean: pod_clean rm -f core core.* *.o *.s *.a *~ rm -rf staging/ build/ diff --git a/parser/Makefile b/parser/Makefile index 75bedd03d..a300f6bb2 100644 --- a/parser/Makefile +++ b/parser/Makefile @@ -376,7 +376,7 @@ ifndef VERBOSE .SILENT: clean endif .PHONY: clean -clean: _clean +clean: pod_clean rm -f core core.* *.o *.s *.a *~ *.gcda *.gcno rm -f gmon.out rm -f $(TOOLS) $(TESTS) diff --git a/utils/Makefile b/utils/Makefile index 92b45a0ba..3cffd039c 100644 --- a/utils/Makefile +++ b/utils/Makefile @@ -63,7 +63,7 @@ install: ${MANPAGES} ${HTMLMANPAGES} ifndef VERBOSE .SILENT: clean endif -clean: _clean +clean: pod_clean rm -f core core.* *.o *.s *.a *~ $(MAKE) -C po clean $(MAKE) -C vim clean diff --git a/utils/vim/Makefile b/utils/vim/Makefile index 101872586..9ffc301e0 100644 --- a/utils/vim/Makefile +++ b/utils/vim/Makefile @@ -25,5 +25,5 @@ check: check_pod_files #Testing with all pythons $(call pyalldo, create-apparmor.vim.py > /dev/null) -clean: _clean +clean: pod_clean rm -f apparmor.vim