Commit 612241de authored by Steve Kemp's avatar Steve Kemp
Browse files

hedge our bets about dh-build operation in jessie.

Some versions use:

dh_prep
dh_auto_install
dh_install

Some use:

dh_build
dh_binary

The former will work.  The latter will clean debian/tmp as part of
the process, which means installing the binary to debian/tmp will
fail.
parent 38e3b459
......@@ -10,8 +10,13 @@ override_dh_clean:
build:
go build ./symbiosis-httpd-logger.go
mkdir -p debian/tmp || true
mv symbiosis-httpd-logger debian/tmp
dh_auto_build
cp symbiosis-httpd-logger debian/tmp
override_dh_install:
go build ./symbiosis-httpd-logger.go
mkdir -p debian/symbiosis-httpd-logger/usr/sbin || true
cp symbiosis-httpd-logger debian/symbiosis-httpd-logger/usr/sbindebian/tmp
%:
dh $@
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment