Framework: use -v rather than -V for full expansion

This commit is contained in:
Franco Fichtner
2021-02-24 10:23:02 +01:00
parent 4a88b924af
commit 10b235e3d8
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -38,8 +38,8 @@ PLUGIN_DIRS+= ${_${CATEGORY}}
list:
.for PLUGIN_DIR in ${PLUGIN_DIRS}
@echo ${PLUGIN_DIR} -- $$(${MAKE} -C ${PLUGIN_DIR} -V PLUGIN_COMMENT) \
$$(if [ -n "$$(${MAKE} -C ${PLUGIN_DIR} -V PLUGIN_DEVEL _PLUGIN_DEVEL=)" ]; then echo "(development only)"; fi)
@echo ${PLUGIN_DIR} -- $$(${MAKE} -C ${PLUGIN_DIR} -v PLUGIN_COMMENT) \
$$(if [ -n "$$(${MAKE} -C ${PLUGIN_DIR} -v PLUGIN_DEVEL _PLUGIN_DEVEL=)" ]; then echo "(development only)"; fi)
.endfor
# shared targets that are sane to run from the root directory
+1 -1
View File
@@ -8,7 +8,7 @@ if [ -z "${DIR}" ]; then
DIR=.
fi
REV=$(make -C ${DIR} -V PLUGIN_REVISION)
REV=$(make -C ${DIR} -v PLUGIN_REVISION)
REV=$(expr ${REV} \+ 1)
grep -v ^PLUGIN_REVISION ${DIR}/Makefile > ${DIR}/Makefile.tmp