mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-28 21:07:56 +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:
parent
da8230fe95
commit
9f1ba65471
@ -86,7 +86,7 @@ install: ${TARGET} ${MANPAGES}
|
|||||||
make install_manpages DESTDIR=${DESTDIR}
|
make install_manpages DESTDIR=${DESTDIR}
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean: _clean
|
clean: pod_clean
|
||||||
rm -rf .libs
|
rm -rf .libs
|
||||||
rm -f *.la *.lo *.so *.o *.slo
|
rm -f *.la *.lo *.so *.o *.slo
|
||||||
|
|
||||||
|
@ -68,11 +68,11 @@ version:
|
|||||||
repo_version:
|
repo_version:
|
||||||
$(value REPO_VERSION_CMD)
|
$(value REPO_VERSION_CMD)
|
||||||
|
|
||||||
.PHONY: _clean
|
.PHONY: pod_clean
|
||||||
ifndef VERBOSE
|
ifndef VERBOSE
|
||||||
.SILENT: _clean
|
.SILENT: pod_clean
|
||||||
endif
|
endif
|
||||||
_clean:
|
pod_clean:
|
||||||
-rm -f ${MANPAGES} *.[0-9].gz ${HTMLMANPAGES} pod2htm*.tmp
|
-rm -f ${MANPAGES} *.[0-9].gz ${HTMLMANPAGES} pod2htm*.tmp
|
||||||
|
|
||||||
# =====================
|
# =====================
|
||||||
|
@ -50,7 +50,7 @@ install:
|
|||||||
ifndef VERBOSE
|
ifndef VERBOSE
|
||||||
.SILENT: clean
|
.SILENT: clean
|
||||||
endif
|
endif
|
||||||
clean: _clean
|
clean: pod_clean
|
||||||
rm -f core core.* *.o *.s *.a *~
|
rm -f core core.* *.o *.s *.a *~
|
||||||
rm -rf staging/ build/
|
rm -rf staging/ build/
|
||||||
|
|
||||||
|
@ -376,7 +376,7 @@ ifndef VERBOSE
|
|||||||
.SILENT: clean
|
.SILENT: clean
|
||||||
endif
|
endif
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean: _clean
|
clean: pod_clean
|
||||||
rm -f core core.* *.o *.s *.a *~ *.gcda *.gcno
|
rm -f core core.* *.o *.s *.a *~ *.gcda *.gcno
|
||||||
rm -f gmon.out
|
rm -f gmon.out
|
||||||
rm -f $(TOOLS) $(TESTS)
|
rm -f $(TOOLS) $(TESTS)
|
||||||
|
@ -63,7 +63,7 @@ install: ${MANPAGES} ${HTMLMANPAGES}
|
|||||||
ifndef VERBOSE
|
ifndef VERBOSE
|
||||||
.SILENT: clean
|
.SILENT: clean
|
||||||
endif
|
endif
|
||||||
clean: _clean
|
clean: pod_clean
|
||||||
rm -f core core.* *.o *.s *.a *~
|
rm -f core core.* *.o *.s *.a *~
|
||||||
$(MAKE) -C po clean
|
$(MAKE) -C po clean
|
||||||
$(MAKE) -C vim clean
|
$(MAKE) -C vim clean
|
||||||
|
@ -25,5 +25,5 @@ check: check_pod_files
|
|||||||
#Testing with all pythons
|
#Testing with all pythons
|
||||||
$(call pyalldo, create-apparmor.vim.py > /dev/null)
|
$(call pyalldo, create-apparmor.vim.py > /dev/null)
|
||||||
|
|
||||||
clean: _clean
|
clean: pod_clean
|
||||||
rm -f apparmor.vim
|
rm -f apparmor.vim
|
||||||
|
Loading…
x
Reference in New Issue
Block a user