2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-22 01:57:43 +00:00

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 <john.johansen@canonical.com>
This commit is contained in:
Christian Boltz 2015-01-30 22:15:53 +01:00
parent da8230fe95
commit 9f1ba65471
6 changed files with 8 additions and 8 deletions

View File

@ -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

View File

@ -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
# =====================

View File

@ -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/

View File

@ -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)

View File

@ -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

View File

@ -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