Blame rpm-4.9.x-gnome-help.patch
|
Panu Matilainen |
bd02f6 |
diff --git a/scripts/find-lang.sh b/scripts/find-lang.sh
|
|
Panu Matilainen |
bd02f6 |
index c3dbdbe..c8f4612 100755
|
|
Panu Matilainen |
bd02f6 |
--- a/scripts/find-lang.sh
|
|
Panu Matilainen |
bd02f6 |
+++ b/scripts/find-lang.sh
|
|
Panu Matilainen |
bd02f6 |
@@ -107,6 +107,14 @@ s:%lang(C) ::
|
|
Panu Matilainen |
bd02f6 |
|
|
Panu Matilainen |
bd02f6 |
find $TOP_DIR -type d|sed '
|
|
Panu Matilainen |
bd02f6 |
s:'"$TOP_DIR"'::
|
|
Panu Matilainen |
bd02f6 |
+'"$NO_ALL_NAME$GNOME"'s:\(.*/share/help/\)\([^/_]\+\)\(/'"$NAME"'\)$:%lang(\2) %doc \1\2\3/:
|
|
Panu Matilainen |
bd02f6 |
+'"$ALL_NAME$GNOME"'s:\(.*/share/help/\)\([^/_]\+\)\(/[a-zA-Z0-9.\_\-]\+\)$:%lang(\2) %doc \1\2\3/:
|
|
Panu Matilainen |
bd02f6 |
+s:^\([^%].*\)::
|
|
Panu Matilainen |
bd02f6 |
+s:%lang(C) ::
|
|
Panu Matilainen |
bd02f6 |
+/^$/d' >> $MO_NAME
|
|
Panu Matilainen |
bd02f6 |
+
|
|
Panu Matilainen |
bd02f6 |
+find "$TOP_DIR" -type d|sed '
|
|
Panu Matilainen |
bd02f6 |
+s:'"$TOP_DIR"'::
|
|
Panu Matilainen |
bd02f6 |
'"$NO_ALL_NAME$GNOME"'s:\(.*/gnome/help/'"$NAME"'$\):%dir \1:
|
|
Panu Matilainen |
bd02f6 |
'"$NO_ALL_NAME$GNOME"'s:\(.*/gnome/help/'"$NAME"'/[a-zA-Z0-9.\_\-]/.\+\)::
|
|
Panu Matilainen |
bd02f6 |
'"$NO_ALL_NAME$GNOME"'s:\(.*/gnome/help/'"$NAME"'\/\)\([^/_]\+\):%lang(\2) \1\2:
|