File: rules

package info (click to toggle)
aalib 1.4p5-44
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,500 kB
  • sloc: ansic: 10,394; sh: 7,789; makefile: 95
file content (27 lines) | stat: -rwxr-xr-x 707 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
#!/usr/bin/make -f

export DH_OPTIONS += --dbg-package=libaa1-dbg

override_dh_auto_configure:
	dh_auto_configure -- --with-curses-driver

override_dh_auto_build:
	${MAKE}
	${MAKE} -C doc

override_dh_installdocs:
	dh_installdocs --link-doc=libaa1

# Empty dependency_libs field http://wiki.debian.org/ReleaseGoals/LAFileRemoval
# fixes non-empty-dependency_libs-in-la-file
override_dh_install:
	dh_install
	sed -i "/dependency_libs/ s/'.*'/''/" debian/libaa1-dev/usr/lib/*/libaa.la

# Version 1.2 is not compatable with version 1.0, so override the
# shlibs to force a >= 1.2 dependency on packages built with aalib.
override_dh_makeshlibs:
	dh_makeshlibs -V 'libaa1 (>= 1.2)'

%:
	dh $@ --with autoreconf