Teach find-lang about the new gnome help layout (RhBug:736523)

This commit is contained in:
Panu Matilainen 2012-03-07 11:31:15 +02:00
parent a5076ad258
commit 6047ddf6aa
1 changed files with 8 additions and 0 deletions

View File

@ -105,6 +105,14 @@ s:^\([^%].*\)::
s:%lang(C) ::
/^$/d' > $MO_NAME
find "$TOP_DIR" -type d|sed '
s:'"$TOP_DIR"'::
'"$NO_ALL_NAME$GNOME"'s:\(.*/share/help/\)\([^/_]\+\)\(/'"$NAME"'\)$:%lang(\2) %doc \1\2\3/:
'"$ALL_NAME$GNOME"'s:\(.*/share/help/\)\([^/_]\+\)\(/[a-zA-Z0-9.\_\-]\+\)$:%lang(\2) %doc \1\2\3/:
s:^\([^%].*\)::
s:%lang(C) ::
/^$/d' >> $MO_NAME
find "$TOP_DIR" -type d|sed '
s:'"$TOP_DIR"'::
'"$NO_ALL_NAME$GNOME"'s:\(.*/gnome/help/'"$NAME"'$\):%dir \1: