UbuntuMesa4Arb: update_files.sh

File update_files.sh, 513 bytes (added by westram, 9 years ago)
Line 
1#!/bin/bash
2BASE=~/mesa
3SOURCE=$BASE/Mesa-7.7.1
4#DEST=$BASE/libglw-mesa-arb_i386/debian/usr
5DEST=$BASE/libglw-mesa-arb_amd64/debian/usr
6
7copyfile() {
8    SSUB=$1
9    DSUB=$2
10    FILE=$3
11
12    mkdir -p $DEST/$DSUB
13    cp -pv $SOURCE/$SSUB/$FILE $DEST/$DSUB
14}
15
16copyfile lib lib libGLw.so
17copyfile lib lib libGLw.so.1
18copyfile lib lib libGLw.so.1.0.0
19
20copyfile src/glw include/GL GLwDrawA.h 
21copyfile src/glw include/GL GLwDrawAP.h
22copyfile src/glw include/GL GLwMDrawA.h
23copyfile src/glw include/GL GLwMDrawAP.h
24