[go: up one dir, main page]

File: rules

package info (click to toggle)
soju 0.10.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,016 kB
  • sloc: sql: 243; sh: 55; makefile: 49; python: 32
file content (16 lines) | stat: -rwxr-xr-x 488 bytes parent folder | download | duplicates (2)
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 := database/postgres_schema.sql database/sqlite_schema.sql

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

override_dh_auto_install:
	dh_auto_install -- --no-source

override_dh_auto_build:
	dh_auto_build -O--buildsystem=golang -- -tags="pam" -ldflags="-X 'codeberg.org/emersion/soju/config.DefaultPath=/etc/soju/config'"

	# Build man pages
	scdoc < doc/soju.1.scd > _build/soju.1
	scdoc < doc/sojuctl.1.scd > _build/sojuctl.1