default_install &&
mkdir -p ${INSTALL_ROOT}/usr/share/doc/devilspie &&
cp ${SOURCE_DIRECTORY}/sample-config.xml ${INSTALL_ROOT}/usr/share/doc/devilspie/ &&
if [ "$COPY" = "y" ] ; then
  cp ${SOURCE_DIRECTORY}/sample-config.xml /root/.devilspie.xml &&
  for homedir in /home/* ; do
    cp ${SOURCE_DIRECTORY}/sample-config.xml /$homedir/.devilspie.xml &&
    echo "Installing config to $homedir..." &&
    chmod 0666 /$homedir/.devilspie.xml
  done
fi
