summarylogtreecommitdiffstats
path: root/compile.sh
diff options
context:
space:
mode:
Diffstat (limited to 'compile.sh')
-rwxr-xr-xcompile.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/compile.sh b/compile.sh
new file mode 100755
index 000000000000..52173923dd9c
--- /dev/null
+++ b/compile.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+rm -rf src/
+[[ -f "config.def.h" ]] && rm config.def.h
+[[ "$(hostname)" == "uh-x200s" ]] && cp config.def.h.x200s config.def.h
+[[ "$(hostname)" == "uh-lin" ]] && cp config.def.h.work config.def.h
+makepkg -g > md5sums
+makepkg -fi