1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-04 09:18:36 +03:00

make: fix subdir order for distclean

The 'test' subdir needs to be processed before 'tools' subdir
for distclean as all the cmd names are read from 'tools/.commands'
file. Otherwise we'd end up with dangling symlinks in 'tools' subdir.
This commit is contained in:
Peter Rajnoha 2012-08-27 15:39:08 +02:00
parent 847e2856a2
commit 967b5eb1f3

View File

@ -40,9 +40,9 @@ SUBDIRS += scripts
# FIXME Should use intermediate Makefiles here! # FIXME Should use intermediate Makefiles here!
ifeq ($(MAKECMDGOALS),distclean) ifeq ($(MAKECMDGOALS),distclean)
SUBDIRS = doc include man scripts \ SUBDIRS = doc include man test scripts \
libdaemon lib tools daemons libdm \ libdaemon lib tools daemons libdm \
udev po liblvm test \ udev po liblvm \
unit-tests/datastruct unit-tests/mm unit-tests/regex unit-tests/datastruct unit-tests/mm unit-tests/regex
endif endif
DISTCLEAN_DIRS += lcov_reports* DISTCLEAN_DIRS += lcov_reports*