handle symlinks in --with-gnome mode
This commit is contained in:
parent
3240fd9ec5
commit
b326041c2e
@ -157,23 +157,21 @@ s:^%lang(man.*) .*::
|
||||
s:'"$TOPDIR"'::
|
||||
s:\(.*/gnome/help/'"$NAME"'\)$:%dir \1:
|
||||
s:\(.*/gnome/help/'"$NAME"'/\)\([^/_]\+\):%dir %lang(\2) \1\2:
|
||||
s:\(.*/share/omf/'"$NAME"'\)$:%dir \1:
|
||||
s:^\([^%].*\)::
|
||||
s:%lang(C) ::
|
||||
' |grep -v '^$' >> "$OUTFILE" ||:
|
||||
find "$TOPDIR" -type f |sed '
|
||||
s:'"$TOPDIR"'::
|
||||
s:\(.*/gnome/help/'"$NAME"'/\)\([^/_]\+\):%lang(\2) \1\2:
|
||||
s:\(.*/share/omf/'"$NAME"'/\)\([^/]*-\)\(.*\)\(\.omf\)$:%lang(\3) \1\2\3\4:
|
||||
s:^\([^%].*\)::
|
||||
s:%lang(C) ::
|
||||
' |grep -v '^$' >> "$OUTFILE" ||:
|
||||
find $TOPDIR -type d |sed '
|
||||
find "$TOPDIR" -type l |sed '
|
||||
s:'"$TOPDIR"'::
|
||||
s:\(.*/share/omf/'"$NAME"'\)$:%dir \1:
|
||||
s:^\([^%].*\)::
|
||||
' |grep -v '^$' >> "$OUTFILE" ||:
|
||||
find "$TOPDIR" -type f |sed '
|
||||
s:'"$TOPDIR"'::
|
||||
s:\(.*/share/omf/'"$NAME"'/\)\([^/]*-\)\(.*\)\(\.omf\)$:%lang(\3) \1\2\3\4:
|
||||
s:\(.*/gnome/help/'"$NAME"'/\)\([^/_]\+\):%lang(\2) %attr(-,root,root) \1\2:
|
||||
s:\(.*/share/omf/'"$NAME"'/\)\([^/]*-\)\(.*\)\(\.omf\)$:%lang(\3) %attr(-,root,root) \1\2\3\4:
|
||||
s:^\([^%].*\)::
|
||||
s:%lang(C) ::
|
||||
' |grep -v '^$' >> "$OUTFILE" ||:
|
||||
@ -187,10 +185,16 @@ s:^\([^%].*\)::
|
||||
s:%lang(en) ::
|
||||
' |grep -v '^$' >> "$OUTFILE" ||:
|
||||
|
||||
find "$TOPDIR" -type f -o -type l |sed '
|
||||
find "$TOPDIR" -type f |sed '
|
||||
s:'"$TOPDIR"'::
|
||||
s:\(.*/share/doc/HTML/\)\([^/_]\+\)\(/'"$NAME"'/.*\):%lang(\2) \1\2\3:
|
||||
s:^\([^%].*\)::
|
||||
s:%lang(en) ::
|
||||
' |grep -v '^$' >> "$OUTFILE" ||:
|
||||
find "$TOPDIR" -type l |sed '
|
||||
s:'"$TOPDIR"'::
|
||||
s:\(.*/share/doc/HTML/\)\([^/_]\+\)\(/'"$NAME"'/.*\):%lang(\2) %attr(-,root,root) \1\2\3:
|
||||
s:^\([^%].*\)::
|
||||
s:%lang(en) ::
|
||||
' |grep -v '^$' >> "$OUTFILE" ||:
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user