forked from drasis/Dada-Engine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
inst
24 lines (21 loc) · 734 Bytes
/
inst
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh
# this is required because install-sh doesn't run properly from a
# makefile on some systems (such as some Solaris 2.x systems)... :-/
INSTALL="/usr/local/bin/ginstall -c"
prefix=/usr/local
exec_prefix=$prefix
bindir=${prefix}/bin
datadir=${prefix}/lib
infodir=${prefix}/info
mandir=${prefix}/man
echo $INSTALL -s src/pb $bindir
$INSTALL -s src/pb $bindir
echo $INSTALL dada $bindir
$INSTALL dada $bindir
echo $INSTALL -m 0644 doc/dada.info $infodir
$INSTALL -m 0644 doc/dada.info $infodir
echo $INSTALL -m 0644 include/*.pbi ${datadir}/dada/include
$INSTALL -m 0644 include/*.pbi ${datadir}/dada/include
echo $INSTALL -m 0644 man/*.1 ${mandir}/man1
$INSTALL -m 0644 man/*.1 ${mandir}/man1
echo "Installation completed."