File: makerelease

package info (click to toggle)
grace 1%3A5.1.25-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 14,100 kB
  • ctags: 14,634
  • sloc: ansic: 102,036; sh: 5,501; makefile: 570; fortran: 56; perl: 56
file content (28 lines) | stat: -rwxr-xr-x 397 bytes parent folder | download | duplicates (6)
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
#!/bin/sh
PATH=/bin:/usr/bin:/usr/local/bin
export PATH

make configure

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

make CHANGES
make ChangeLog

CDIR=`pwd`
CDIR_BNAME=`basename $CDIR`
cd src
make pars.c
cd ..
cd doc
make all; make clean
cd ..
rm -f Make.conf
cd ..
tar --exclude \*CVS\* --exclude .cvsignore --exclude autom4te.cache -cvzf ${CDIR_BNAME}.tar.gz $CDIR_BNAME
cd -