1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
#!/usr/bin/make -f
export CGO_CFLAGS:=$(CFLAGS)
export CGO_LDFLAGS:=$(LDFLAGS)
export CGO_CPPFLAGS:=$(CPPFLAGS)
export CGO_CXXFLAGS:=$(CXXFLAGS)
override_dh_auto_install:
dh_auto_install -- --no-source
%:
dh $@ --buildsystem=golang --with=golang
override_dh_auto_clean:
dh_auto_clean
rm -rf debian/man
override_dh_auto_build:
dh_auto_build
mkdir -p debian/man
find . -executable -wholename '*bin/slinkwatch' -exec {} makeman --dir debian/man \;
override_dh_installsystemd:
dh_installsystemd --no-enable --no-start
|