Commit 8f07b434 authored by Andreas Tille's avatar Andreas Tille
Browse files

Take over changes from: dh-make-golang make -type program -git_revision=v0.3.1...

Take over changes from: dh-make-golang make -type program -git_revision=v0.3.1 github.com/brentp/vcfanno
parent ec63bb38
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -7,10 +7,12 @@ Build-Depends: debhelper (>= 12~),
               dh-golang,
               golang-any,
               golang-github-biogo-hts-dev,
               golang-github-burntsushi-toml-dev
               golang-gopkg-check.v1-dev,
               golang-toml-dev
Standards-Version: 4.3.0
Vcs-Browser: https://salsa.debian.org/med-team/vcfanno
Vcs-Git: https://salsa.debian.org/med-team/vcfanno.git
XS-Go-Import-Path: github.com/brentp/vcfanno
Homepage: https://github.com/brentp/vcfanno

Package: vcfanno
+1 −0
Original line number Diff line number Diff line
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: vcfanno
Source: https://github.com/brentp/vcfanno/releases
Files-Excluded: Godeps/_workspace

Files: *
Copyright: 2015-2019 Brent Pedersen and Aaron Quinlan
+3 −22
Original line number Diff line number Diff line
#!/usr/bin/make -f

# DH_VERBOSE := 1
export LC_ALL=C.UTF-8

include /usr/share/dpkg/default.mk
# this provides:
# DEB_SOURCE: the source package name
# DEB_VERSION: the full version of the package (epoch + upstream vers. + revision)
# DEB_VERSION_EPOCH_UPSTREAM: the package's version without the Debian revision
# DEB_VERSION_UPSTREAM_REVISION: the package's version without the Debian epoch
# DEB_VERSION_UPSTREAM: the package's upstream version
# DEB_DISTRIBUTION: the distribution(s) listed in the current entry of debian/changelog
# SOURCE_DATE_EPOCH: the source release date as seconds since the epoch, as
#                    specified by <https://reproducible-builds.org/specs/source-date-epoch/>

# for hardening you might like to uncomment this:
# export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@ --buildsystem=golang --with=golang

override_dh_auto_build:
_override_dh_auto_build:
	cp -a *.go obj-$(DEB_BUILD_GNU_TYPE)
	dh_auto_build

### When overriding auto_test make sure DEB_BUILD_OPTIONS will be respected
#override_dh_auto_test:
#ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
#	do_stuff_for_testing
#endif
override_dh_auto_install:
	dh_auto_install -- --no-source