File: rules

package info (click to toggle)
shadowsocks-v2ray-plugin 1.3.1-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 220 kB
  • sloc: sh: 51; makefile: 10
file content (14 lines) | stat: -rwxr-xr-x 392 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

include /usr/share/dpkg/default.mk

override_dh_auto_install:
	cd obj-$(DEB_TARGET_GNU_TYPE); \
		mv bin/v2ray-plugin bin/ss-v2ray-plugin; \
		help2man -N -n "V2Ray plugin for shadowsocks" \
			--version-string="$(DEB_VERSION)" --no-discard-stderr \
			-o ss-v2ray-plugin.1 bin/ss-v2ray-plugin
	dh_auto_install -- --no-source

%:
	dh $@ --buildsystem=golang --with=golang