File: makerelease

package info (click to toggle)
grace6 5.99.1%2Bdev4-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 10,492 kB
  • ctags: 13,269
  • sloc: ansic: 103,384; sh: 5,021; yacc: 617; makefile: 574; lex: 253; fortran: 56
file content (37 lines) | stat: -rwxr-xr-x 530 bytes parent folder | download | duplicates (2)
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
#!/bin/sh
PATH=/bin:/usr/bin:/usr/local/bin
export PATH

make configure

cat << EOF > Make.conf
.SUFFIXES:
O=.o
EXE=
YACC=bison -y
XCC=xcc
PAPERSIZE=a4
EOF

make NEWS
make ChangeLog

CDIR=`pwd`
CDIR_BNAME=`basename $CDIR`
cd src
touch Make.dep
make pars.c
make xml_in.c
rm -f Make.dep
cd ..
cd lib/graal
make scanner.c scanner.h parser.c parser.h
cd ../..
cd doc
make all
cd ..
rm -f Make.conf
cd ..
tar --exclude CVS --exclude .cvsignore --exclude autom4te.cache --exclude Make.dep \
 -cvzf ${CDIR_BNAME}.tar.gz $CDIR_BNAME
cd -