Switch to unified view

a/src/makestaticdist.sh b/src/makestaticdist.sh
...
...
33
33
34
rm -f index/recollindex qtgui/recoll
34
rm -f index/recollindex qtgui/recoll
35
make static || exit 1
35
make static || exit 1
36
strip index/recollindex qtgui/recoll
36
strip index/recollindex qtgui/recoll
37
37
38
files="COPYING README INSTALL Makefile recollinstall
38
files="COPYING README INSTALL VERSION Makefile recollinstall
39
filters sampleconf 
39
filters sampleconf doc/user doc/man
40
index/recollindex qtgui/recoll qtgui/mtpics/*.png"
40
index/recollindex qtgui/recoll qtgui/*.qm qtgui/mtpics/*.png"
41
41
42
$TAR chf - $files  | (cd $topdir; $TAR xf -)
42
$TAR chf - $files  | (cd $topdir; $TAR xf -)
43
44
# Remove any install dependancy
45
chmod +w $topdir/Makefile
46
sed -e '/^install:/c\
47
install: ' < $topdir/Makefile > $topdir/toto && \
48
   mv $topdir/toto $topdir/Makefile
49
50
43
(cd $targetdir ; \
51
(cd $targetdir ; \
44
    $TAR chf - $topdirsimple | \
52
    $TAR chf - $topdirsimple | \
45
        gzip > $tarfile)
53
        gzip > $tarfile)
46
54
47
echo $tarfile created
55
echo $tarfile created