File: doskit.fe

package info (click to toggle)
jbofihe 0.38-5.1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, squeeze, wheezy
  • size: 1,576 kB
  • ctags: 2,421
  • sloc: ansic: 18,600; yacc: 1,865; perl: 1,190; makefile: 271; lex: 152; sh: 60
file content (51 lines) | stat: -rw-r--r-- 1,117 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#!/bin/sh

# $Header: /cvs/src/jbofihe/doskit.fe,v 1.10 2001/07/31 20:46:12 richard Exp $

# The flow for building the DOS binary-only release is
# 1. Make usual Unix source release
# 2. Unpack a copy of the Unix source kit
# 3. Run this script
# 4. Boot into DOS and make the executables
# 5. Run some basic sanity checks
# 6. Reboot Linux and run doskit.be

if [ ! -d /dosc/jbofihe ]; then
    echo "You need to mount /dosc first!"
    exit 1
fi

if [ ! -r Makefile ]; then
    echo "You need to perl config.pl first"
    echo "  e.g. perl config.pl"
    exit 1
fi

if [ ! -r smujmaji.dat ]; then
    # Don't do this twice if a failure occurs below (i.e. if /dosc isn't
    # mounted!)
    make dictionary
fi

make rpc_tab.c
make rpc_full.c
make stag.c
make canonluj.inc
make morf_lex.c
make morfvlex.c
make morf_dfa.c
make bctables.c
make trctabs.c
make trcftabs.c
make elitabs.c

cp *.c *.h smujmaji.dat canonluj.inc Makefile.dos /dosc/jbofihe

echo "Now reboot into DOS and do"
echo "gcc -O2 -o minitouc minitouc.c"
echo "minitouc *.*"
echo "del *.o"
echo "make -f makefile.dos progs"
echo "Then reboot Linux"