Index: libreoffice-7.5.1.2/bin/distro-install-sdk =================================================================== --- libreoffice-7.5.1.2.orig/bin/distro-install-sdk +++ libreoffice-7.5.1.2/bin/distro-install-sdk @@ -17,14 +17,12 @@ if test -d $DESTDIR$INSTALLDIR/sdk ; the # relative paths to $DESTDIR$INSTALLDIR/sdk/setting and it does not work via # a symlink mkdir -p $DESTDIR$PREFIXDIR/include - mkdir -p $DESTDIR$DATADIR/idl mkdir -p $DESTDIR$DATADIR/$INSTALLDIRNAME/sdk mkdir -p $DESTDIR$DOCDIR/sdk mv $DESTDIR$INSTALLDIR/sdk/include $DESTDIR$PREFIXDIR/include/$INSTALLDIRNAME if [ -d $DESTDIR$INSTALLDIR/sdk/classes ]; then mv $DESTDIR$INSTALLDIR/sdk/classes $DESTDIR$DATADIR/$INSTALLDIRNAME/sdk/classes fi - mv $DESTDIR$INSTALLDIR/sdk/idl $DESTDIR$DATADIR/idl/$INSTALLDIRNAME mv $DESTDIR$INSTALLDIR/sdk/docs $DESTDIR$DOCDIR/sdk mv $DESTDIR$INSTALLDIR/sdk/share/readme $DESTDIR$DOCDIR/sdk/readme mv $DESTDIR$INSTALLDIR/sdk/index.html $DESTDIR$DOCDIR/sdk @@ -32,7 +30,6 @@ if test -d $DESTDIR$INSTALLDIR/sdk ; the # compat symlinks ln -sf $PREFIXDIR/include/$INSTALLDIRNAME $DESTDIR$INSTALLDIR/sdk/include ln -sf $DATADIR/$INSTALLDIRNAME/sdk/classes $DESTDIR$INSTALLDIR/sdk/classes - ln -sf $DATADIR/idl/$INSTALLDIRNAME $DESTDIR$INSTALLDIR/sdk/idl ln -sf $DOCDIR/sdk/docs $DESTDIR$INSTALLDIR/sdk/ ln -sf $DOCDIR/sdk/index.html $DESTDIR$INSTALLDIR/sdk/index.html ln -sf $INSTALLDIR/sdk/examples $DESTDIR$DOCDIR/sdk/examples @@ -40,7 +37,6 @@ if test -d $DESTDIR$INSTALLDIR/sdk ; the # fix file list sed -e "s|^\(%dir \)\?$INSTALLDIR/sdk/include|\1$PREFIXDIR/include/$INSTALLDIRNAME|" \ -e "s|^\(%dir \)\?$INSTALLDIR/sdk/classes|\1$DATADIR/$INSTALLDIRNAME/sdk/classes|" \ - -e "s|^\(%dir \)\?$INSTALLDIR/sdk/idl|\1$DATADIR/idl/$INSTALLDIRNAME|" \ -e "s|^\(%dir \)\?$INSTALLDIR/sdk/docs|\1$DOCDIR/sdk/docs|" \ -e "s|^\(%dir \)\?$INSTALLDIR/sdk/share/readme|\1$DOCDIR/sdk/readme|" \ -e "s|^$INSTALLDIR/sdk/index.html$|$DOCDIR/sdk/index.html|" \ @@ -53,13 +49,11 @@ if test -d $DESTDIR$INSTALLDIR/sdk ; the # echo "%dir $DATADIR/$INSTALLDIRNAME/sdk" >>$DESTDIR/gid_Module_Root_SDK echo "%dir $DATADIR/$INSTALLDIRNAME" >>$DESTDIR/gid_Module_Root_SDK - echo "%dir $DATADIR/idl" >>$DESTDIR/gid_Module_Root_SDK echo "%dir $DOCDIR/sdk/docs" >>$DESTDIR/gid_Module_Root_SDK echo "%dir $DOCDIR/sdk" >>$DESTDIR/gid_Module_Root_SDK echo "%dir $DOCDIR" >>$DESTDIR/gid_Module_Root_SDK echo "$INSTALLDIR/sdk/include" >>$DESTDIR/gid_Module_Root_SDK echo "$INSTALLDIR/sdk/classes" >>$DESTDIR/gid_Module_Root_SDK - echo "$INSTALLDIR/sdk/idl" >>$DESTDIR/gid_Module_Root_SDK echo "$INSTALLDIR/sdk/docs" >>$DESTDIR/gid_Module_Root_SDK echo "$INSTALLDIR/sdk/index.html" >>$DESTDIR/gid_Module_Root_SDK echo "$DOCDIR/sdk/examples" >>$DESTDIR/gid_Module_Root_SDK