source: tags/1.0/makeit @ 5

Last change on this file since 5 was 5, checked in by willem, 9 years ago

willem

  • Property svn:executable set to *
File size: 562 bytes
Line 
1#!/bin/bash
2umask 022
3case `hostname` in
4  *r7n1*|piccolo) installdir=/sara/sw/disparm-1.0
5    ;;
6  *) installdir=$HOME/myroot/sara/sw/disparm-1.0
7    ;;
8esac
9mkdir -p $installdir/{bin,man/man1}
10chmod 755 $installdir
11chmod 755 $installdir/{bin,man,man/man1}
12make || exit
13echo installing in $installdir :
14cp disparmcmd sara-get-mem-size sara-get-num-cores $installdir/bin || exit
15cp disparm.1 disparmcmd.1 sara-get-mem-size.1 sara-get-num-cores.1 $installdir/man/man1 || exit
16chmod 755 $installdir/bin/* || exit
17chmod 644 $installdir/man/man1/* || exit
18echo done
Note: See TracBrowser for help on using the repository browser.