File: rules

package info (click to toggle)
videogen 0.33-8
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, buster, forky, sid, trixie
  • size: 464 kB
  • sloc: ansic: 2,853; yacc: 853; sh: 124; lex: 118; makefile: 47
file content (18 lines) | stat: -rwxr-xr-x 544 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 DEB_BUILD_MAINT_OPTIONS = hardening=+all future=+all qa=+all reproducible=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
export DEB_CFLAGS_MAINT_APPEND  = -Wall -Wextra -Wpedantic -DYY_NO_UNPUT -DYY_NO_INPUT


%:
	dh $@

override_dh_auto_build:
	dh_auto_build -- LIBS="${LDFLAGS} -lm" CFLAGS="${CPPFLAGS} ${CFLAGS}"

# don't run make install, which is broken; we install required vinaries directly using debian/*.install
override_dh_auto_install:

override_dh_installchangelogs:
	dh_installchangelogs CHANGES