topdir.mk: Add target mrproper

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2016-04-19 11:36:15 +00:00
commit 39f906ae3f

View file

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