File: makeall

package info (click to toggle)
multisync 0.82-8
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 15,780 kB
  • ctags: 5,496
  • sloc: ansic: 36,511; sh: 17,141; yacc: 1,377; makefile: 836
file content (28 lines) | stat: -rwxr-xr-x 463 bytes parent folder | download | duplicates (4)
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/bash

# This script will make and install everything, as well as create
# all rpms

./autogen.sh

version=`cat configure | grep "VERSION=" | grep -v PACKAGE_VERSION | sed -e 's/VERSION=//g' | sed -e 's/ //g'`
srcdir=`pwd`

make clean
autoconf
./configure
make
for dir in ${srcdir}/plugins/*; do
   cd ${dir}
    make clean
    autoconf
   ./configure
   make
done

cd ${srcdir}
echo Becoming root to \"make install\" and build RPMs:
su -c ./makeallroot