Recent versions of find (Debian SID for example) warn about order of
min/maxdepth params. So reorder to keep the bugger happy.
BUILDDIRS = libmultipath libcheckers path_priority \
devmap_name multipath multipathd kpartx
-ALLDIRS = $(shell find . -type d -maxdepth 1 -mindepth 1 ! -name \.git)
+ALLDIRS = $(shell find . -maxdepth 1 -mindepth 1 -type d ! -name \.git)
VERSION = $(shell basename ${PWD} | cut -d'-' -f3)
INSTALLDIRS = devmap_name multipath multipathd kpartx path_priority
#
DEBUG = 0
-SUBDIRS = $(shell find . -type d -mindepth 1 -maxdepth 1|cut -c3-)
+SUBDIRS = $(shell find . -mindepth 1 -maxdepth 1 -type d|cut -c3-)
all:
@for DIR in $(SUBDIRS); do \