From 39f906ae3f3abc5d09053a163a8fc6962dd806ce Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Tue, 19 Apr 2016 11:36:15 +0000 Subject: [PATCH] topdir.mk: Add target mrproper Signed-off-by: Jan Lindemann --- make/topdir.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/make/topdir.mk b/make/topdir.mk index d2d07196..4c7fe4e3 100644 --- a/make/topdir.mk +++ b/make/topdir.mk @@ -1,7 +1,9 @@ all: config install: topdir.install clean: topdir.clean +distclean: topdir.distclean config: +mrproper:distclean topdir.mrproper SUBDIRS ?= $(wildcard inst/pre make scripts contrib src libsrc tools include lib bin \ util plugins conf config cfg images doc test inst/post) @@ -20,8 +22,6 @@ include $(MODDIR)/make/doc-rules.mk STREAMLINE_PROJECT ?= bash $(MOD_SCRIPT_DIR)/streamline-project.sh -distclean: topdir.distclean - INSTALLED_TOPDIR_FILES = $(addprefix $(INSTALL_DOCDIR)/, $(DOCS)) local-%: @@ -38,6 +38,8 @@ unlocal: topdir.distclean: topdir.clean: rm -f *.done +topdir.mrproper: + find . -name '*.rep' | xargs -r rm -f topdir.install: prefix.done $(INSTALLED_TOPDIR_FILES)