3 # ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
5 # + This file is part of enGrid. +
7 # + Copyright 2008-2013 enGits GmbH +
9 # + enGrid is free software: you can redistribute it and/or modify +
10 # + it under the terms of the GNU General Public License as published by +
11 # + the Free Software Foundation, either version 3 of the License, or +
12 # + (at your option) any later version. +
14 # + enGrid is distributed in the hope that it will be useful, +
15 # + but WITHOUT ANY WARRANTY; without even the implied warranty of +
16 # + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +
17 # + GNU General Public License for more details. +
19 # + You should have received a copy of the GNU General Public License +
20 # + along with enGrid. If not, see <http://www.gnu.org/licenses/>. +
22 # ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
26 # Check if all parameters are present
31 echo "`basename $0` INPUT OUTPUT INSTALL UNINSTALL"
41 sed -i '/windows/d' $OUTPUT
42 sed -i '/Warning/d' $OUTPUT
43 sed -i '/KnownDLLs/d' $OUTPUT
44 sed -i '/IESHIMS\.DLL/d' $OUTPUT
45 sed -i '/WER\.DLL/d' $OUTPUT
46 sed -i 's/DLL\(.*\)$/DLL/g' $OUTPUT
47 sed -i 's/\[.*\]//g' $OUTPUT
48 sed -i 's/^ *//g' $OUTPUT
50 ~
/bin
/remove_duplicates.pl
$OUTPUT
51 OUTPUT_2
=no_dupes_
$OUTPUT
52 sort $OUTPUT_2 > $OUTPUT
55 sed -i 's/c:\\qt\\2009\.03\\mingw\\bin/${MINGWBINDIR}/g' $INSTALL
56 sed -i 's/c:\\qt\\2009\.03\\qt\\bin/${QTBINDIR}/g' $INSTALL
57 sed -i 's/c:\\qwt-5\.3\.0-svn\\lib/${QWTLIBDIR}/g' $INSTALL
58 sed -i 's/c:\\qwtplot3d\\lib/${QWTPLOT3DLIBDIR}/g' $INSTALL
59 sed -i 's/c:\\vtk-5\.4\.2-install\\bin/${VTKBINDIR}/g' $INSTALL
60 sed -i 's/c:\\libraries\\vtk-5\.4\.2-install\\bin/${VTKBINDIR}/g' $INSTALL
62 sed -i 's/^/ File "/' $INSTALL
63 sed -i 's/$/"/' $INSTALL
66 sed -i 's/.*\\\([^\\]*\)\.DLL/\1.DLL/g' $UNINSTALL
67 sed -i 's/^/ Delete "$INSTDIR\\/' $UNINSTALL
68 sed -i 's/$/"/' $UNINSTALL
73 echo "=== INSTALL ==="
76 echo "=== UNINSTALL ==="