Switch to unified view

a/src/recollinstall.in b/src/recollinstall.in
...
...
28
   for d in ${PREFIX} \
28
   for d in ${PREFIX} \
29
        ${PREFIX}/bin \
29
        ${PREFIX}/bin \
30
        ${PREFIX}/share \
30
        ${PREFIX}/share \
31
        ${PREFIX}/share/recoll \
31
        ${PREFIX}/share/recoll \
32
        ${PREFIX}/share/recoll/examples \
32
        ${PREFIX}/share/recoll/examples \
33
      ${PREFIX}/share/recoll/filters \
33
        ${PREFIX}/share/recoll/images \
34
        ${PREFIX}/share/recoll/images \
34
        ${PREFIX}/share/recoll/translations
35
        ${PREFIX}/share/recoll/translations
35
   do
36
   do
36
     test -d $d || mkdir $d || exit 1
37
     test -d $d || mkdir $d || exit 1
37
   done
38
   done
38
39
39
40
40
   ${INSTALL} qtgui/recoll index/recollindex recollinstall $PREFIX/bin \
41
   ${INSTALL} qtgui/recoll index/recollindex recollinstall $PREFIX/bin \
41
          || exit 1
42
          || exit 1
42
43
43
   ${INSTALL} filters/rcl* ${PREFIX}/share/recoll/examples/ || exit 1
44
   ${INSTALL} filters/rcl* ${PREFIX}/share/recoll/filters/ || exit 1
45
   chmod a+x ${PREFIX}/share/recoll/filters/rcl* || exit 1
46
   # Clean up possible old filters in examples
47
   rm -f ${PREFIX}/share/recoll/examples/rcl*
44
48
45
   ${INSTALL} sampleconf/recoll.conf sampleconf/mimeconf sampleconf/mimemap \
49
   ${INSTALL} sampleconf/recoll.conf sampleconf/mimeconf sampleconf/mimemap \
46
            ${PREFIX}/share/recoll/examples/ || exit 1
50
            ${PREFIX}/share/recoll/examples/ || exit 1
51
47
52
48
   ${INSTALL} qtgui/mtpics/*.png ${PREFIX}/share/recoll/images || exit 1
53
   ${INSTALL} qtgui/mtpics/*.png ${PREFIX}/share/recoll/images || exit 1
49
   ${INSTALL} qtgui/recoll*.qm ${PREFIX}/share/recoll/translations || exit 1
54
   ${INSTALL} qtgui/recoll*.qm ${PREFIX}/share/recoll/translations || exit 1
50
55
51
   exit 0
56
   exit 0
...
...
73
     exit 0
78
     exit 0
74
  fi
79
  fi
75
80
76
  mkdir $HOME/.recoll || exit 1
81
  mkdir $HOME/.recoll || exit 1
77
  cp ${PREFIX}/share/recoll/examples/* $HOME/.recoll
82
  cp ${PREFIX}/share/recoll/examples/* $HOME/.recoll
78
  chmod a+x $HOME/.recoll/rcl*
79
  chmod +w $HOME/.recoll/recoll.conf
83
  chmod +w $HOME/.recoll/recoll.conf
80
  chmod +w $HOME/.recoll/mimeconf
84
  chmod +w $HOME/.recoll/mimeconf
81
85
82
  echo Copied configuration files and filters to $HOME/.recoll/
86
  echo Copied configuration files and filters to $HOME/.recoll/
83
  echo You should now take a look at $HOME/.recoll/recoll.conf
87
  echo You should now take a look at $HOME/.recoll/recoll.conf