File indexing completed on 2024-05-12 03:52:28

0001 #! /bin/sh
0002 
0003 EXTRACTXML="./extractxml"
0004 
0005 rm -f rc.cpp
0006 $EXTRACTXML --extract \
0007         --context='%(filename)s:%(tag)s' --tag-regex='^(?:title|body|p|h[1-6])$' --recursive --strip \
0008         ./objectinfo/*.html --output=rc.cpp
0009 $XGETTEXT rc.cpp -o $podir/step_objinfo_files.pot
0010 
0011 rm -f rc.cpp
0012 $EXTRACTXML --extract \
0013         --context='%(tag)s' --tag=name --tag=text --unquote \
0014         --parse-unquoted='--context=HTML:%(tag)s --tag-regex=^(?:title|body|p|h[1-6])$ --recursive --strip' \
0015         ./examples/*.step ./tutorials/*.step --output=rc.cpp
0016 $XGETTEXT rc.cpp -o $podir/step_example_files.pot
0017 
0018 rm -f rc.cpp