summaryrefslogtreecommitdiffstats
path: root/packaging/git-build
diff options
context:
space:
mode:
authorLennart Weller <lhw@ring0.de>2016-04-21 12:27:29 +0000
committerLennart Weller <lhw@ring0.de>2016-04-21 12:27:29 +0000
commit30b94862648cdbf4f537337d2e2f01c369a9dee9 (patch)
treef0219dd8bd744fc09899bd0266402e05a4bff854 /packaging/git-build
parentImported Upstream version 1.0.0 (diff)
downloadnetdata-30b94862648cdbf4f537337d2e2f01c369a9dee9.tar.xz
netdata-30b94862648cdbf4f537337d2e2f01c369a9dee9.zip
Imported Upstream version 1.1.0upstream/1.1.0
Diffstat (limited to 'packaging/git-build')
-rwxr-xr-xpackaging/git-build40
1 files changed, 0 insertions, 40 deletions
diff --git a/packaging/git-build b/packaging/git-build
deleted file mode 100755
index e33d2355c..000000000
--- a/packaging/git-build
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/bin/sh
-
-# When run from the top-level repository, performs a complete clean
-# and maintainer-mode rebuild of the FireHOL package.
-
-if [ ! -f .gitignore -o ! -f configure.ac -o ! -x autogen.sh ]
-then
- echo "Run as ./packaging/git-build from an autotools git repository"
- exit 1
-fi
-
-# If we are genuinely in a git repo, try to clean it up, otherwise
-# just make the assumption
-if [ -d .git ]
-then
- clean=$(git status -s | grep "^?")
-
- if [ "$clean" ]
- then
- if [ "$1" != "-ok" ]
- then
- echo "Warning: this script runs: git clean -d -f -x"
- echo " ensure all required ?? files are added, then re-run with '-ok'"
- git status -s | grep '^?'
- exit 1
- fi
- fi
-
- set -e
- git clean -d -f -x
- set +e
-fi
-
-set -e
-./autogen.sh
-./configure --enable-maintainer-mode
-set +e
-make dist
-status=$?
-exit $status