Commit 20e51f6f authored by Franco Fichtner's avatar Franco Fichtner

fix empty src dir situation

parent 44a56f70
...@@ -93,9 +93,11 @@ ${TEMPLATE}: ...@@ -93,9 +93,11 @@ ${TEMPLATE}:
@cp ${.CURDIR}/Volt.pm ${PERL_DIR}/${PERL_NAME}/ @cp ${.CURDIR}/Volt.pm ${PERL_DIR}/${PERL_NAME}/
@: > ${TEMPLATE}.pot @: > ${TEMPLATE}.pot
.for ROOTDIR in ${PLUGINSDIRS} ${COREDIR} ${LANGDIR} .for ROOTDIR in ${PLUGINSDIRS} ${COREDIR} ${LANGDIR}
${XGETTEXT_PL} -D ${ROOTDIR}/src -p ${.CURDIR} -o ${TEMPLATE}.pot if [ -d ${ROOTDIR}/src ]; then \
find ${ROOTDIR}/src -print0 | \ ${XGETTEXT_PL} -D ${ROOTDIR}/src -p ${.CURDIR} -o ${TEMPLATE}.pot; \
xargs -0 ${XGETTEXT} -j -o ${.CURDIR}/${TEMPLATE}.pot find ${ROOTDIR}/src -print0 | \
xargs -0 ${XGETTEXT} -j -o ${.CURDIR}/${TEMPLATE}.pot; \
fi
.endfor .endfor
template: ${TEMPLATE} template: ${TEMPLATE}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment