aboutsummaryrefslogtreecommitdiff
path: root/contrib/gitian-descriptors/gitian.yml
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2012-04-10 13:31:12 -0700
committerPieter Wuille <pieter.wuille@gmail.com>2012-04-10 13:31:12 -0700
commit702764f53b6aded29fc2e020078d192ec2b13d68 (patch)
tree3c532113e13e79b5a0677fd5f8080766ea96ae23 /contrib/gitian-descriptors/gitian.yml
parentb56772e5df75832b84efacba60bbb3e7910fa1cf (diff)
parenta20c0d0f6792acf532309eee2e9f29120c801ee4 (diff)
Merge pull request #1054 from sipa/buildinfo
Build identification strings
Diffstat (limited to 'contrib/gitian-descriptors/gitian.yml')
-rw-r--r--contrib/gitian-descriptors/gitian.yml6
1 files changed, 2 insertions, 4 deletions
diff --git a/contrib/gitian-descriptors/gitian.yml b/contrib/gitian-descriptors/gitian.yml
index de622e968f..8243c5c301 100644
--- a/contrib/gitian-descriptors/gitian.yml
+++ b/contrib/gitian-descriptors/gitian.yml
@@ -42,13 +42,11 @@ script: |
#
cd bitcoin
mkdir -p $OUTDIR/src
- cp -a . $OUTDIR/src
- rm -rf $OUTDIR/src/.git
+ git archive HEAD | tar -x -C $OUTDIR/src
cp $OUTDIR/src/doc/README $OUTDIR
cp $OUTDIR/src/COPYING $OUTDIR
cd src
- sed 's/$(DEBUGFLAGS)//' -i makefile.unix
- make -f makefile.unix STATIC=1 OPENSSL_INCLUDE_PATH="$INSTDIR/include" OPENSSL_LIB_PATH="$INSTDIR/lib" $MAKEOPTS bitcoind USE_UPNP=0
+ make -f makefile.unix STATIC=1 OPENSSL_INCLUDE_PATH="$INSTDIR/include" OPENSSL_LIB_PATH="$INSTDIR/lib" $MAKEOPTS bitcoind USE_UPNP=0 DEBUGFLAGS=
mkdir -p $OUTDIR/bin/$GBUILD_BITS
install -s bitcoind $OUTDIR/bin/$GBUILD_BITS
cd ..