File: rules

package info (click to toggle)
senpai 0.4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,072 kB
  • sloc: makefile: 70
file content (16 lines) | stat: -rwxr-xr-x 375 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

export DH_GOLANG_INSTALL_EXTRA = emoji.json

%:
	dh $@ --builddirectory=_build --buildsystem=golang

execute_before_dh_installman:
ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
	mkdir debian/tmp
	scdoc < doc/senpai.1.scd > debian/tmp/senpai.1
	scdoc < doc/senpai.5.scd > debian/tmp/senpai.5
endif

override_dh_auto_install:
	dh_auto_install -- --no-source