summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMichal Minar <miminar@redhat.com>2014-04-22 15:19:56 +0200
committerMichal Minar <miminar@redhat.com>2014-04-24 09:58:44 +0200
commit2a78da4f98a583a382c553f2e1fc68299210e7d5 (patch)
tree53029ae0a8474a9ddc464419da7337d0d88dea13 /Makefile
parent9138628a62461fd8914d5b82ec6a4ace964a4b2b (diff)
downloadopenlmi-scripts-2a78da4f98a583a382c553f2e1fc68299210e7d5.tar.gz
openlmi-scripts-2a78da4f98a583a382c553f2e1fc68299210e7d5.tar.xz
openlmi-scripts-2a78da4f98a583a382c553f2e1fc68299210e7d5.zip
moved lmi meta-command to openlmi-tools repository
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index fbfc67e..4aadbe7 100644
--- a/Makefile
+++ b/Makefile
@@ -1,14 +1,12 @@
-include Makefile.inc
-
-COMMANDS ?= $(shell find commands -mindepth 1 -maxdepth 1 -type d)
+COMMANDS ?= $(notdir $(shell find commands -mindepth 1 -maxdepth 1 -type d))
# all rules executable on meta-command and commands
RULES := setup upload upload_docs clean develop
MASSRULES := $(foreach rule,$(RULES),$(rule)-all)
.PHONY: $(MASSRULES)
-$(MASSRULES): %-all: %
+$(MASSRULES): %-all:
# executes rule for metacommand and for all commands found
for cmd in $(COMMANDS); do \
- make -C $$cmd $*; \
+ make -C commands/$$cmd $*; \
done