We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f20f0ce commit 58c11caCopy full SHA for 58c11ca
locale/GNUmakefile
@@ -15,7 +15,8 @@ PACKAGES=$(shell find ../roundup ../share/roundup/templates -name '*.py' \
15
SOURCES=$(PACKAGES:=/*.py)
16
PO_FILES=$(wildcard *.po)
17
MO_FILES=$(PO_FILES:.po=.mo)
18
-RUN_PYTHON=PYTHONPATH=../build/lib $(PYTHON) -O
+PYTHON_BUILD=../build/lib
19
+RUN_PYTHON=PYTHONPATH=$(PYTHON_BUILD) $(PYTHON) -O
20
21
all: dist
22
@@ -36,7 +37,9 @@ dist:
36
37
done
38
39
template:
40
+ test -d $(PYTHON_BUILD) || (echo "Missing build directory. ln -s lib to build library"; exit 1)
41
${XPOT} -n -o $(TEMPLATE) $(SOURCES)
42
+
43
${RUN_PYTHON} ../roundup/cgi/TAL/talgettext.py -u $(TEMPLATE) \
44
../share/roundup/templates/classic/html/*.html \
45
../share/roundup/templates/minimal/html/*.html
0 commit comments