author: kx <kx@radix.pro> 2023-06-08 10:55:49 +0300
committer: kx <kx@radix.pro> 2023-06-08 10:55:49 +0300
commit: 60c0c1eb3ae0a1d27be27d4298e3ee79b9919747
parent: 411874c2ab9a88a4a4ac5ee4c6a2d9a64e1fa824
Commit Summary:
Diffstat:
1 file changed, 18 insertions, 0 deletions
diff --git a/packages/x/pcmanfm/Makefile b/packages/x/pcmanfm/Makefile
new file mode 100644
index 0000000..56b65e0
--- /dev/null
+++ b/packages/x/pcmanfm/Makefile
@@ -0,0 +1,25 @@
+
+#
+# Following command helps to cheate SUBDIRS list:
+# $ tree -fid .
+#
+
+SUBDIRS := libfm \
+ pcmanfm
+
+
+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