File: rules

package info (click to toggle)
sdl-ttf2.0 2.0.11-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, sid
  • size: 12,308 kB
  • sloc: sh: 10,170; ansic: 6,423; objc: 520; csh: 219; makefile: 66
file content (29 lines) | stat: -rwxr-xr-x 701 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/usr/bin/make -f

#export DH_VERBOSE=1


export DEB_CFLAGS_MAINT_APPEND  := -pipe -Wall
export DEB_LDFLAGS_MAINT_APPEND := -Wl,--no-undefined


# export variables for autoreconf
export AUTOMAKE := automake --foreign


%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- $(confflags)

override_dh_install:
	# copy files (modifying header includes) to install as examples in the
	# -dev package
	sed -e 's:"SDL.h":\<SDL.h\>:' -e 's:"SDL_ttf.h":\<SDL_ttf.h\>:' showfont.c > debian/showfont.c
	sed -e 's:"SDL.h":\<SDL.h\>:' -e 's:"SDL_ttf.h":\<SDL_ttf.h\>:' glfont.c > debian/glfont.c

	dh_install --fail-missing -XlibSDL_ttf.la

override_dh_installchangelogs:
	dh_installchangelogs -- CHANGES