Permalink
Browse files

Building this project should be easy.

  • Loading branch information...
Matt
Matt committed May 21, 2013
1 parent 535b637 commit dad7eb13d9b2697eb5862710041e073a73b6ef62
Showing with 29 additions and 0 deletions.
  1. +29 −0 easy-make.sh
View
@@ -0,0 +1,29 @@
+#!/bin/bash
+
+usage() {
+ echo -e "\nUSAGE: $0 <clean|build|package>\n"
+ echo -e "\tbuild : configure and compile this project"
+ echo -e "\tpackage: create a Debian package for this project"
+ echo -e "\tclean : remove the files created by the 'build' action"
+ echo -e ""
+ exit 2
+}
+
+if [[ -z ${1} ]] ; then
+ usage
+fi
+
+ACTION=$1
+cd irongrip/
+
+case "$ACTION" in
+ "build" | "package" | "clean" )
+ ;;
+ *)
+ usage
+ ;;
+esac
+
+./maintainer-build.sh ${ACTION}
+cd ..
+

0 comments on commit dad7eb1

Please sign in to comment.