2017-03-14 19:16:36 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2017-03-17 17:48:26 +00:00
|
|
|
|
|
|
|
|
2017-03-14 19:16:36 +00:00
|
|
|
cd ..
|
2017-03-17 17:48:26 +00:00
|
|
|
cp linux/autogen.sh .
|
|
|
|
cp linux/pre-build.sh .
|
2017-03-17 11:59:54 +00:00
|
|
|
cp linux/configure.ac .
|
|
|
|
cp linux/Makefile.am .
|
|
|
|
sed -i -e 's:../src:src:g' Makefile.am
|
|
|
|
sed -i -e 's:../src:src:g' configure.ac
|
2017-03-17 17:48:26 +00:00
|
|
|
sed -i -e 's:../.git:.git:g' pre-build.sh
|
|
|
|
sed -i -e 's:../src:src:g' pre-build.sh
|
|
|
|
./autogen.sh
|
2017-03-14 19:16:36 +00:00
|
|
|
./configure
|
|
|
|
make dist
|
2017-03-17 11:59:54 +00:00
|
|
|
mv *.gz package_creators
|
|
|
|
rm -rf Makefile
|
|
|
|
rm -rf Makefile.am
|
|
|
|
rm -rf configure.ac
|
2017-03-17 17:48:26 +00:00
|
|
|
rm -rf autogen.sh
|
|
|
|
rm -rf pre-build.sh
|
2017-03-17 11:59:54 +00:00
|
|
|
rm -rf configure
|
|
|
|
rm -rf Makefile.in
|
|
|
|
rm -rf config.status
|
|
|
|
rm -rf config.log
|
|
|
|
rm -rf aclocal.m4
|
|
|
|
rm -rf build-conf
|
|
|
|
rm -rf autom4te.cache
|
2017-03-14 19:16:36 +00:00
|
|
|
cd package_creators
|