File: rules

package info (click to toggle)
lcmaps 1.6.6-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 4,016 kB
  • ctags: 1,428
  • sloc: sh: 11,191; ansic: 9,519; makefile: 530; lex: 184; perl: 92; yacc: 60
file content (29 lines) | stat: -rwxr-xr-x 859 bytes parent folder | download | duplicates (2)
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