topdir.mk: Don't set default SUBDIRS if ORDERED_SUBDIRS is set

If ORDERED_SUBDIRS is set, SUBDIRS should by default start with
$(ORDERED_SUBDIRS), and filled up with what $(FIND_SUBDIRS) turns up.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2019-01-30 16:23:07 +00:00
commit 6a4092b8af

View file

@ -5,9 +5,12 @@ distclean: topdir.distclean
config:
mrproper:distclean topdir.mrproper
ifeq ($(ORDERED_SUBDIRS),)
SUBDIRS ?= $(wildcard inst/pre make scripts contrib src libsrc \
tools include lib bin util plugins conf config cfg \
images htdocs tmpl doc test inst/post)
endif
PROJECT_DESCR = $(TOPDIR)/make/project.conf
GIT_DESCR = $(TOPDIR)/.git/description
LIST_VCS_FILES = /bin/bash $(MOD_SCRIPT_DIR)/scm.sh ls-files