File: rules

package info (click to toggle)
lcmaps 1.6.1-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 3,944 kB
  • ctags: 1,388
  • sloc: sh: 11,495; ansic: 9,453; makefile: 516; lex: 128; perl: 92; yacc: 58
file content (29 lines) | stat: -rwxr-xr-x 859 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
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

%:
	dh $@ --with autoreconf

# We're going to do something ultra funky now.
# Try to configure the package twice, in different build
# directories, once with and once without GSI mode.

override_dh_auto_configure:
	dh_auto_configure -Bbuild-gsi -- $(shell dpkg-buildflags --export=configure)
	dh_auto_configure -Bbuild-nogsi -- --disable-gsi-mode $(shell dpkg-buildflags --export=configure)

override_dh_auto_build:
	dh_auto_build -Bbuild-gsi
	dh_auto_build -Bbuild-nogsi

# It's ok to share the same destdir between the builds; overlapping
# files are identical.
override_dh_auto_install:
	dh_auto_install -Bbuild-gsi --destdir=debian/tmp
	dh_auto_install -Bbuild-nogsi --destdir=debian/tmp

override_dh_installchangelogs:
	dh_installchangelogs ChangeLog