Commit 2728b2c6 authored by Franco Fichtner's avatar Franco Fichtner

unify directory layout with e.g. core.git

parent a86d767e
......@@ -74,7 +74,7 @@ PLUGINSDIRS= ${_PLUGINSDIRS:S/^/${PLUGINSDIR}\//g}
${TEMPLATE}:
@cp ${.CURDIR}/Volt.pm ${PERL_DIR}/${PERL_NAME}/
@: > ${TEMPLATE}.pot
.for ROOTDIR in ${PLUGINSDIRS} ${COREDIR}
.for ROOTDIR in ${PLUGINSDIRS} ${LANGDIR} ${COREDIR}
${XGETTEXT_PL} -D ${ROOTDIR}/src -p ${.CURDIR} -o ${TEMPLATE}.pot
find ${ROOTDIR}/src -print0 | \
xargs -0 ${XGETTEXT} -j -o ${.CURDIR}/${TEMPLATE}.pot
......@@ -87,7 +87,7 @@ install: ${INSTALL}
clean: ${CLEAN}
merge: ${MERGE}
dynamic:
@${.CURDIR}/dynamic/collect.py ${PLUGINSDIRS} ${COREDIR}
src:
@${.CURDIR}/scripts/collect.py ${PLUGINSDIRS} ${COREDIR}
.PHONY: ${INSTALL} ${MERGE} ${TEMPLATE} dynamic
.PHONY: ${INSTALL} ${MERGE} ${TEMPLATE} src
......@@ -6,10 +6,10 @@ from the source code. You'll need to run this once locally:
# pkg install gettext-tools p5-Locale-Maketext-Lexicon python27
Regenerate dynamic strings that can't be found in the template
Regenerate source strings that can't be found in the template
generation step (XML contents, etc.):
# make dynamic
# make src
Regenerate the translation template using:
......
......@@ -40,7 +40,7 @@ if len(sys.argv) < 2:
RootPaths = sys.argv[1:]
# create target location
targetPath = 'helpers'
targetPath = 'src'
if len(glob.glob(targetPath)) == 0:
os.mkdir(targetPath)
......
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