File: rules

package info (click to toggle)
tomatoes 1.55-10
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 11,264 kB
  • sloc: cpp: 7,407; ansic: 299; makefile: 52
file content (18 lines) | stat: -rwxr-xr-x 523 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND += `sdl-config --cflags` -DVERSION=\"$(DEB_VERSION)\"
export DEB_LDFLAGS_MAINT_APPEND += `sdl-config --libs` -lSDL_image -lSDL_mixer -lGL -lGLU

%:
	dh $@

override_dh_auto_build:
	dh_auto_build -- 'CC=$$(CXX)'

override_dh_installchangelogs:
	sed -n -e '/VERSION HISTORY/,/The first public version/p' README \
	   > debian/upstream.changes
	dh_installchangelogs debian/upstream.changes