37 lines
579 B
Plaintext
37 lines
579 B
Plaintext
|
#!/usr/bin/make -f
|
||
|
|
||
|
build: build-stamp
|
||
|
|
||
|
build-stamp:
|
||
|
dh_testdir
|
||
|
$(MAKE) build
|
||
|
touch build-stamp
|
||
|
|
||
|
clean:
|
||
|
dh_testdir
|
||
|
dh_testroot
|
||
|
rm -f build-stamp
|
||
|
$(MAKE) clean
|
||
|
dh_clean
|
||
|
|
||
|
install: build
|
||
|
dh_testdir
|
||
|
dh_prep
|
||
|
dh_install pdns-auth-proxy /usr/sbin
|
||
|
dh_install client/main.go /usr/share/doc/pdns-auth-proxy/client.go
|
||
|
|
||
|
binary-indep: build install
|
||
|
|
||
|
binary-arch: build install
|
||
|
dh_testdir
|
||
|
dh_testroot
|
||
|
dh_installinit
|
||
|
dh_fixperms
|
||
|
dh_installdeb
|
||
|
dh_gencontrol
|
||
|
dh_md5sums
|
||
|
dh_builddeb
|
||
|
|
||
|
binary: binary-indep binary-arch
|
||
|
.PHONY: build clean binary-indep binary-arch binary install
|