automatically expand subdir targets

This commit is contained in:
Franco Fichtner
2016-10-21 20:29:28 +02:00
parent e3e44cfb27
commit 5d8f53d626
+6 -17
View File
@@ -21,22 +21,11 @@ list-full:
@${MAKE} -C ${PLUGIN_DIR} -V PLUGIN_COMMENT
.endfor
lint:
.for PLUGIN_DIR in ${PLUGIN_DIRS}
${MAKE} -C ${PLUGIN_DIR} lint
.endfor
TARGETS= lint sweep sytle style-fix clean
sweep:
.for PLUGIN_DIR in ${PLUGIN_DIRS}
${MAKE} -C ${PLUGIN_DIR} sweep
.endfor
style:
.for PLUGIN_DIR in ${PLUGIN_DIRS}
${MAKE} -C ${PLUGIN_DIR} style
.endfor
style-fix:
.for PLUGIN_DIR in ${PLUGIN_DIRS}
${MAKE} -C ${PLUGIN_DIR} style-fix
.for TARGET in ${TARGETS}
${TARGET}:
. for PLUGIN_DIR in ${PLUGIN_DIRS}
@${MAKE} -C ${PLUGIN_DIR} ${TARGET}
. endfor
.endfor