build.sh: Disable xf86-video-imstt. Unmaintained, broken.
[xorg-util-modular.git] / copybuild.sh
blobe561ca0e23b06a4e5295e40a965d88d830f07dbe
1 #!/usr/bin/env bash
3 function usage() {
4 echo
5 echo copybuild.sh \<source directory\> \<destination directory\>
6 echo
9 if [ -z $1 ] ; then
10 usage
11 exit
14 if [ -z $2 ] ; then
15 usage
16 exit
19 if [ $1 = $2 ] ; then
20 echo source and destination can\'t be the same
21 usage
22 exit
25 src_dir=$1
26 dst_dir=$2
28 cp $src_dir/AUTHORS $dst_dir
29 cp $src_dir/autogen.sh $dst_dir
30 cp $src_dir/ChangeLog $dst_dir
31 cp $src_dir/configure.ac $dst_dir
32 cp $src_dir/COPYING $dst_dir
33 cp $src_dir/INSTALL $dst_dir
34 cp $src_dir/Makefile.am $dst_dir
35 cp $src_dir/NEWS $dst_dir
36 cp $src_dir/README $dst_dir
37 cp $src_dir/*.pc.in $dst_dir