File: rules

package info (click to toggle)
sdl-image1.2 1.2.12-5%2Bdeb9u2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 6,848 kB
  • sloc: sh: 10,169; ansic: 9,619; objc: 248; csh: 219; makefile: 90
file content (34 lines) | stat: -rwxr-xr-x 772 bytes parent folder | download | duplicates (3)
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
30
31
32
33
34
#!/usr/bin/make -f

#export DH_VERBOSE=1

export DEB_CFLAGS_MAINT_APPEND  = -pipe -Wall
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed


# features -- disable building as plugins, otherwise dh_shlibs
confflags =  --disable-jpg-shared
confflags += --disable-tif-shared
confflags += --disable-png-shared
confflags += --disable-webp-shared

%:
	dh $@ --with autoreconf --parallel

override_dh_autoreconf:
	AUTOMAKE="automake --foreign" dh_autoreconf --as-needed

override_dh_auto_configure:
	dh_auto_configure -- $(confflags)

override_dh_compress:
	dh_compress -Xshowimage.c

override_dh_install:
	dh_install --fail-missing -XlibSDL_image.la

override_dh_installchangelogs:
	dh_installchangelogs -- CHANGES

override_dh_strip:
	dh_strip --dbg-package=libsdl-image1.2-dbg