author: kx <kx@radix.pro> 2023-04-06 10:37:20 +0300
committer: kx <kx@radix.pro> 2023-04-06 10:37:20 +0300
commit: b8d9de0a8bff1b815a7f84df279cb608fe2e962b
parent: cbda8cd8fcffd037f28be2d043a05bef12db485a
Commit Summary:
Diffstat:
1 file changed, 18 insertions, 0 deletions
diff --git a/X.org/xserver/Makefile b/X.org/xserver/Makefile
new file mode 100644
index 0000000..b9c34e7
--- /dev/null
+++ b/X.org/xserver/Makefile
@@ -0,0 +1,25 @@
+
+#
+# Following command helps to cheate SUBDIRS list:
+# $ tree -fid .
+#
+
+SUBDIRS := xorg-server \
+ xwayland
+
+
+all-recursive downloads_clean-recursive:
+ @set fnord $(MAKEFLAGS); amf=$$2; \
+ target=`echo $@ | sed s/-recursive//`; \
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ echo "Making $$target in $$subdir"; \
+ local_target="$$target"; \
+ (cd $$subdir && $(MAKE) $$fnord $$local_target) \
+ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
+ done; test -z "$$fail"
+
+all: all-recursive
+
+downloads_clean: downloads_clean-recursive
+
+.PHONY: all-recursive downloads_clean-recursive all downloads_clean