File: install.sh

package info (click to toggle)
grc 1.0.8
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 208 kB
  • ctags: 90
  • sloc: python: 285; makefile: 39; sh: 35
file content (14 lines) | stat: -rwxr-xr-x 281 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

DESTDIR=$1
BINDIR=$DESTDIR/usr/bin
LIBDIR=$DESTDIR/usr/share/grc
MANDIR=$DESTDIR/usr/share/man/man1
CONFDIR=$DESTDIR/etc

mkdir -p $BINDIR || true
cp -fv grc grcat $BINDIR
mkdir -p $LIBDIR || true
cp -fv conf.* $LIBDIR
mkdir -p $CONFDIR || true
cp -fv grc.conf $CONFDIR