summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh27
1 files changed, 27 insertions, 0 deletions
diff --git a/build.sh b/build.sh
new file mode 100755
index 0000000..645729d
--- /dev/null
+++ b/build.sh
@@ -0,0 +1,27 @@
+#!/bin/bash
+
+rm -rf deb myusr tuxanci-ng_svn*_i386.deb
+rm -rf tuxanci_ng-i386-bin tuxanci_ng-i386-bin tuxanci_ng-i386-bin.tar.bz2
+rm -rf tuxanci_ng tuxanci_ng.tar tuxanci_ng.tar.bz2
+
+make clean
+mv current_config.h config.h
+make
+mv config.h current_config.h
+./tarballbin-build.sh
+
+make clean
+./tarball-build.sh
+
+make clean
+mv path_config.h config.h
+make
+
+rm -rf myusr
+mkdir myusr
+mkdir myusr/bin
+mkdir myusr/share
+
+make install DISTDIR=./myusr/
+mv config.h path_config.h
+./deb-build.sh