File: rules

package info (click to toggle)
slinkwatch 1.1-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 200 kB
  • sloc: makefile: 17; sh: 14
file content (24 lines) | stat: -rwxr-xr-x 528 bytes parent folder | download | duplicates (3)
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