File: rules

package info (click to toggle)
erlang-jiffy 1.0.8+dfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 4,228 kB
  • sloc: cpp: 3,733; ansic: 2,326; erlang: 1,193; makefile: 31
file content (17 lines) | stat: -rwxr-xr-x 468 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/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

CFLAGS:= $(shell dpkg-buildflags --get CFLAGS) $(CPPFLAGS)
CFLAGS += -fsigned-char
CXXFLAGS:= $(shell dpkg-buildflags --get CXXFLAGS) $(CPPFLAGS)
CXXFLAGS += -fsigned-char

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

override_dh_auto_clean:
	rm -rf ebin priv compile_commands.json .rebar
	dh_auto_clean