Helper scripts for one makefile build.

This commit is contained in:
Ben Laurie 2013-04-06 15:17:30 +01:00
parent 1a70fe953a
commit 9fc3ebda13
2 changed files with 13 additions and 0 deletions

8
GitConfigure Executable file
View File

@ -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

5
GitMake Normal file
View File

@ -0,0 +1,5 @@
#!/bin/sh
BRANCH=`git rev-parse --abbrev-ref HEAD`
make -f makefile.$BRANCH $@