[PATCH 3/4] pkg.in/Makefile: fix subdir order

Michael Shigorin mike at altlinux.org
Tue Jul 16 22:53:43 MSK 2019


The old one was totally broken: we processed lower level
targets before the high-level ones, and the waterfall logic
is exactly the opposite here: profiles may yield groups,
and groups may yield lists.

This is important as lists copied are fixed up with archdep
postprocessing, and if higher-level targets add up more lists
afterwards these would end up as-is.
---
 pkg.in/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg.in/Makefile b/pkg.in/Makefile
index 2afdae1..e875725 100644
--- a/pkg.in/Makefile
+++ b/pkg.in/Makefile
@@ -8,6 +8,6 @@ endif
 
 # sequential execution, no reason to haste
 all:
-	@for dir in lists groups profiles; do \
+	@for dir in profiles groups lists; do \
 		$(MAKE) -C $$dir || exit; \
 	done
-- 
2.10.4


--k1lZvvs/B4yU6o8G
Content-Type: text/x-patch; charset=us-ascii
Content-Disposition: attachment; filename="0004-image.in-pkg.in-groups-inter-group-dependencies.patch"



More information about the devel-distro mailing list