summaryrefslogtreecommitdiffstats
path: root/GitConfigure
diff options
context:
space:
mode:
authorBen Laurie <ben@links.org>2013-06-13 15:09:48 +0100
committerBen Laurie <ben@links.org>2013-06-13 15:09:48 +0100
commite887c4187ef9bb5dc74576270c50706cbb0b4912 (patch)
treeccd439f84d2acfaa40b63a1427d96b3b4fe98ecb /GitConfigure
parent933aee6199ab134dac3abb1df46615424bafc718 (diff)
Backport single makefile from master.
Diffstat (limited to 'GitConfigure')
-rwxr-xr-xGitConfigure8
1 files changed, 8 insertions, 0 deletions
diff --git a/GitConfigure b/GitConfigure
new file mode 100755
index 0000000000..bbab33ebc5
--- /dev/null
+++ b/GitConfigure
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+BRANCH=`git rev-parse --abbrev-ref HEAD`
+
+./Configure $@ no-symlinks
+make files
+util/mk1mf.pl OUT=out.$BRANCH TMP=tmp.$BRANCH INC=inc.$BRANCH copy > makefile.$BRANCH
+make -f makefile.$BRANCH init