diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2012-03-07 11:31:15 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2012-03-07 11:31:15 +0200 |
commit | 6047ddf6aa984a65e334450e04d272631894b039 (patch) | |
tree | cc555719ab8dfe26c19d890f567bcc230b17560a /scripts | |
parent | a5076ad25874421c032f7b06e27c9c9023ff7d2d (diff) | |
download | librpm-tizen-6047ddf6aa984a65e334450e04d272631894b039.tar.gz librpm-tizen-6047ddf6aa984a65e334450e04d272631894b039.tar.bz2 librpm-tizen-6047ddf6aa984a65e334450e04d272631894b039.zip |
Teach find-lang about the new gnome help layout (RhBug:736523)
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/find-lang.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/find-lang.sh b/scripts/find-lang.sh index 56ed5bd03..d9af45c16 100755 --- a/scripts/find-lang.sh +++ b/scripts/find-lang.sh @@ -107,6 +107,14 @@ s:%lang(C) :: 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: '"$NO_ALL_NAME$GNOME"'s:\(.*/gnome/help/'"$NAME"'/[a-zA-Z0-9.\_\-]/.\+\):: '"$NO_ALL_NAME$GNOME"'s:\(.*/gnome/help/'"$NAME"'\/\)\([^/_]\+\):%lang(\2) \1\2: |