blob: 98e1ae6a8af25466ac44082d03a2b1579bc6856b [file] [log] [blame]
DIRS = $(filter %/, $(wildcard */))
COMMANDS = distro build dput clean
all:
@echo "Available commands:"
@\
for command in ${COMMANDS}; do \
echo " $$command"; \
done
$(COMMANDS): ${DIRS}
@\
for dir in ${DIRS}; do \
(cd $$dir && $(MAKE) $@) ; \
done