master - make: fix subdir order for distclean
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=967b5eb1f3a25572448974f882e3bc8ba5d3fb9a Commit: 967b5eb1f3a25572448974f882e3bc8ba5d3fb9a Parent: 847e2856a29c41756cc5bbaf70eb87ea030826f4 Author: Peter Rajnoha <[email protected]> AuthorDate: Mon Aug 27 15:39:08 2012 +0200 Committer: Peter Rajnoha <[email protected]> CommitterDate: Mon Aug 27 15:39:08 2012 +0200
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.
--- Makefile.in | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
Makefile.in +2 -2
@@ -40,9 +40,9 @@ SUBDIRS += scripts # FIXME Should use intermediate Makefiles here! ifeq ($(MAKECMDGOALS),distclean) - SUBDIRS = doc include man scripts \ + SUBDIRS = doc include man test scripts \ libdaemon lib tools daemons libdm \ - udev po liblvm test \ + udev po liblvm \ unit-tests/datastruct unit-tests/mm unit-tests/regex endif DISTCLEAN_DIRS += lcov_reports*