From 967b5eb1f3a25572448974f882e3bc8ba5d3fb9a Mon Sep 17 00:00:00 2001 From: Peter Rajnoha Date: Mon, 27 Aug 2012 15:39:08 +0200 Subject: [PATCH] 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 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.in b/Makefile.in index d957e260e..431619022 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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*