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)