Browse Source

Update Makefile to return proper exit codes of sub-make commands.

pull/332/head
Christoph Scholtes 7 years ago
parent
commit
cf32d2ad50
1 changed files with 7 additions and 2 deletions
  1. +7
    -2
      Makefile

+ 7
- 2
Makefile View File

@@ -1,6 +1,11 @@
# Convert relative Rack directory path to absolute
RACK_DIR := $(shell realpath $(RACK_DIR))

REPOS ?= $(shell ls repos)

dist_all:
for f in repos/*; do $(MAKE) -C "$$f" dist; done
dist_all: $(REPOS)

$(REPOS):
$(MAKE) -C repos/$@ dist

.PHONY: dist_all $(REPOS)

Loading…
Cancel
Save