diff options
Diffstat (limited to 'packages/a/zoo/Makefile')
-rw-r--r-- | packages/a/zoo/Makefile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/packages/a/zoo/Makefile b/packages/a/zoo/Makefile new file mode 100644 index 0000000..0456de5 --- /dev/null +++ b/packages/a/zoo/Makefile @@ -0,0 +1,25 @@ + +# +# Following command helps to cheate SUBDIRS list: +# $ tree -fid . +# + +SUBDIRS := 2.10 \ + 2.10-22-debian + + +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 |