Commit cf9f57d4 authored by Franco Fichtner's avatar Franco Fichtner

template: unify using the previous

parent 2728b2c6
...@@ -74,13 +74,11 @@ PLUGINSDIRS= ${_PLUGINSDIRS:S/^/${PLUGINSDIR}\//g} ...@@ -74,13 +74,11 @@ PLUGINSDIRS= ${_PLUGINSDIRS:S/^/${PLUGINSDIR}\//g}
${TEMPLATE}: ${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} ${LANGDIR} ${COREDIR} .for ROOTDIR in ${PLUGINSDIRS} ${COREDIR} ${LANGDIR}
${XGETTEXT_PL} -D ${ROOTDIR}/src -p ${.CURDIR} -o ${TEMPLATE}.pot ${XGETTEXT_PL} -D ${ROOTDIR}/src -p ${.CURDIR} -o ${TEMPLATE}.pot
find ${ROOTDIR}/src -print0 | \ find ${ROOTDIR}/src -print0 | \
xargs -0 ${XGETTEXT} -j -o ${.CURDIR}/${TEMPLATE}.pot xargs -0 ${XGETTEXT} -j -o ${.CURDIR}/${TEMPLATE}.pot
.endfor .endfor
find ${LANGDIR}/src -print0 | \
xargs -0 ${XGETTEXT} -j -o ${.CURDIR}/${TEMPLATE}.pot
template: ${TEMPLATE} template: ${TEMPLATE}
install: ${INSTALL} install: ${INSTALL}
......
This source diff could not be displayed because it is too large. You can view the blob instead.
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