github.com/blocknative/go-ethereum@v1.9.7/build/deb/ethereum/deb.rules (about)

     1  #!/usr/bin/make -f
     2  # -*- makefile -*-
     3  
     4  # Uncomment this to turn on verbose mode.
     5  #export DH_VERBOSE=1
     6  
     7  # Launchpad rejects Go's access to $HOME/.cache, use custom folder
     8  export GOCACHE=/tmp/go-build
     9  export GOROOT_BOOTSTRAP={{.GoBootPath}}
    10  
    11  override_dh_auto_build:
    12  	(cd .go/src && ./make.bash)
    13  	build/env.sh .go/bin/go run build/ci.go install -git-commit={{.Env.Commit}} -git-branch={{.Env.Branch}} -git-tag={{.Env.Tag}} -buildnum={{.Env.Buildnum}} -pull-request={{.Env.IsPullRequest}}
    14  
    15  override_dh_auto_test:
    16  
    17  %:
    18  	dh $@