37 lines
904 B
Bash
Executable File
37 lines
904 B
Bash
Executable File
#!/bin/sh
|
|
|
|
srcdir=${srcdir-.}
|
|
builddir=${builddir-.}
|
|
|
|
name=namescomp
|
|
prog="$builddir/$name$EXEEXT"
|
|
log="$builddir/$name.log"
|
|
|
|
compile()
|
|
{
|
|
echo "$prog '$1' '$2' '$3' '$4' '$5'" >>"$log"
|
|
$prog "$1" "$2" "$3" "$4" "$5" >>"$log" 2>&1 || exit $?
|
|
}
|
|
|
|
failcompile()
|
|
{
|
|
echo "$prog '$1' '$2' '$3' '$4' '$5'" >>"$log"
|
|
if $prog "$1" "$2" "$3" "$4" "$5" >>"$log" 2>&1; then
|
|
exit 1
|
|
fi
|
|
}
|
|
|
|
rm -f "$log"
|
|
|
|
compile "xfree86+aliases(qwerty)" "" "" "" ""
|
|
compile "xfree86+aliases(qwertz)" "" "" "pc+de" ""
|
|
compile "xfree86+aliases(qwerty)" "complete" "complete" "pc+us" "pc(pc105)"
|
|
compile "xfree86+aliases(qwertz)" "complete" "complete" \
|
|
"pc+de+level3(ralt_switch_for_alts_toggle)+group(alts_toggle)" \
|
|
"pc(pc104)"
|
|
|
|
failcompile "" "" "" "" "" ""
|
|
failcompile "" "complete" "" "" "" ""
|
|
failcompile "" "" "complete" "" "" ""
|
|
failcompile "badnames" "complete" "complete" "pc+us" "pc(pc101)"
|