File: rules

package info (click to toggle)
golang-entgo-ent 0.11.3-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 21,952 kB
  • sloc: javascript: 641; makefile: 8; sql: 2
file content (13 lines) | stat: -rwxr-xr-x 388 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

export DH_GOLANG_INSTALL_ALL := 1

export DH_GOLANG_EXCLUDES := cmd entc/integration

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

override_dh_auto_install:
	dh_auto_install -- --no-binaries
	find debian/golang-entgo-ent-dev -name .gitignore -delete
	find debian/golang-entgo-ent-dev \( -name '*.md' -o -name '*.mdx' \) -exec chmod a-x {} ';'