# --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: target/mnemosyne/config.in # Copyright (C) 2008 The OpenSDE Project # Copyright (C) 2002 - 2006 Alejandro Mery # # More information can be found in the files COPYING and README. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; version 2 of the License. A copy of the # GNU General Public License can be found in the file COPYING. # --- SDE-COPYRIGHT-NOTE-END --- #Description: Mnemosyne Linux const SDECFG_TRG_MNEMOSYNE ${target:-$SDECFG_TARGET} case "$sdever" in trunk) CFGTEMP_TREE=0 ;; master) CFGTEMP_TREE=0 ;; 0.1-0.1*) CFGTEMP_TREE=0 ;; *) comment " " comment "ERROR: Your version ($sdever) is not supported" comment " by this tree of mnemosyne!" comment " " CFGTEMP_TREE=unknown ;; esac if [ ! -s $cfgtmpdir/mnemosyne.config.in ]; then if ! perl ./target/$SDECFG_TRG_MNEMOSYNE/mnemosyne.pl "./target/$SDECFG_TRG_MNEMOSYNE/pkgsel.d" TRG_MNEMOSYNE \ $cfgtmpdir/mnemosyne.{config,rules,awkgen}.in; then echo "mnemosyne.pl failed!" rm -f $cfgtmpdir/mnemosyne.{config,rules,awkgen}.in fi fi rm -f "$cfgtmpdir/mnemosyne.postpkgfilter.in" if [ -s "$cfgtmpdir/mnemosyne.config.in" ]; then . "$cfgtmpdir/mnemosyne.rules.in" . "$cfgtmpdir/mnemosyne.config.in" else comment ' ' comment 'ERROR: plugins config was not rendered!' comment ' ' fi