diff --git a/step/data/Messages.sh b/step/data/Messages.sh index a8eb48d..7903e45 100755 --- a/step/data/Messages.sh +++ b/step/data/Messages.sh @@ -1,18 +1,18 @@ #! /bin/sh EXTRACTXML="./extractxml" +rm -f rc.cpp $EXTRACTXML --extract \ --context='%(filename)s:%(tag)s' --tag-regex='^(?:title|body|p|h[1-6])$' --recursive --strip \ - ./objectinfo/*.html --output=objinfo.cpp + ./objectinfo/*.html --output=rc.cpp +$XGETTEXT rc.cpp -o $podir/step_objinfo_files.pot + +rm -f rc.cpp $EXTRACTXML --extract \ --context='%(tag)s' --tag=name --tag=text --unquote \ --parse-unquoted='--context=HTML:%(tag)s --tag-regex=^(?:title|body|p|h[1-6])$ --recursive --strip' \ - ./examples/*.step ./tutorials/*.step --output=examples.cpp - -$XGETTEXT objinfo.cpp -o $podir/step_objinfo_files.pot -$XGETTEXT examples.cpp -o $podir/step_example_files.pot - -rm -f objinfo.cpp -rm -f examples.cpp + ./examples/*.step ./tutorials/*.step --output=rc.cpp +$XGETTEXT rc.cpp -o $podir/step_example_files.pot +rm -f rc.cpp