File: rules

package info (click to toggle)
erlang-cuttlefish 3.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 700 kB
  • sloc: erlang: 6,328; makefile: 11
file content (18 lines) | stat: -rwxr-xr-x 379 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f
export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
include /usr/share/dpkg/default.mk
export ERL_COMPILER_OPTIONS=deterministic


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


override_dh_auto_configure:
	sed -i "s/git\}/\"$(DEB_VERSION_UPSTREAM)\"\}/" src/cuttlefish.app.src


override_dh_auto_clean:
	dh_auto_clean
	rm -rf .eunit .rebar ebin