1 # --- SDE-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # Filename: target/mnemosyne/config.in
5 # Copyright (C) 2002 - 2006 Alejandro Mery
7 # More information can be found in the files COPYING and README.
9 # This program 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; version 2 of the License. A copy of the
12 # GNU General Public License can be found in the file COPYING.
13 # --- SDE-COPYRIGHT-NOTE-END ---
15 #Description: Mnemosyne Linux
17 const SDECFG_TRG_MNEMOSYNE ${target:-$SDECFG_TARGET}
20 trunk) CFGTEMP_TREE=0 ;;
21 vapor) CFGTEMP_TREE=0 ;;
23 comment "ERROR: Your version ($sdever) is not supported"
24 comment " by this tree of mnemosyne!"
26 CFGTEMP_TREE=unknown ;;
30 local stage="$1----------"; shift
35 elif [ $# -eq 1 ]; then
40 pkgfilter sed -e "s,^\(.\) [^ ]* \([^ ]*\) \([^ ]*\) \($pkgs\) ,\1 ${stage:0:10} \2 \3 \4 ,"
44 if [ ! -s $cfgtmpdir/mnemosyne.config.in ]; then
46 if ! perl ./target/$SDECFG_TRG_MNEMOSYNE/mnemosyne.pl "./target/$SDECFG_TRG_MNEMOSYNE/pkgsel" TRG_MNEMOSYNE \
47 $cfgtmpdir/mnemosyne.{config,rules,awkgen}.in; then
48 echo "mnemosyne.pl failed!"
49 rm -f $cfgtmpdir/mnemosyne.{config,rules,awkgen}.in
53 rm -f "$cfgtmpdir/mnemosyne.postpkgfilter.in"
54 if [ -s "$cfgtmpdir/mnemosyne.config.in" ]; then
55 . "$cfgtmpdir/mnemosyne.rules.in"
56 . "$cfgtmpdir/mnemosyne.config.in"
59 comment 'ERROR: plugins config was not rendered!'