author: kx <kx@radix.pro> 2023-04-05 22:22:22 +0300
committer: kx <kx@radix.pro> 2023-04-05 22:22:22 +0300
commit: 06fd19843ab5ddcb49c6f8741f1711778ff9f9eb
parent: a0610b8d15a051d96037351979fca24039cfa884
Commit Summary:
Diffstat:
1 file changed, 18 insertions, 0 deletions
diff --git a/packages/d/perl-modules/Makefile b/packages/d/perl-modules/Makefile
new file mode 100644
index 0000000..4913864
--- /dev/null
+++ b/packages/d/perl-modules/Makefile
@@ -0,0 +1,25 @@
+
+#
+# Following command helps to cheate SUBDIRS list:
+# $ tree -fid .
+#
+
+SUBDIRS := CPAN \
+ perl-SGMLS
+
+
+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