+if [ "$(which wmctrl)" == "" ]; then
+ echo "You need to install wmctrl first, try:"
+ echo " sudo apt-get install wmctrl"
+ exit -1;
+fi
+
+if [ "$(which pcregrep)" == "" ]; then
+ echo "You need to install pcregrep first, try:"
+ echo " sudo apt-get install pcregrep"
+ exit -1;
+fi
+
+PROGRAM_SUFFIX=$(grep -e '#define PACKAGE ' ../../config.h | sed -e 's/#define PACKAGE "lyx\(.*\)"/\1/')
+