File: rules

package info (click to toggle)
libpano13 2.9.23%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,620 kB
  • sloc: ansic: 36,431; perl: 242; makefile: 23; sh: 2
file content (28 lines) | stat: -rwxr-xr-x 768 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
#!/usr/bin/make -f

export DEB_CFLAGS_MAINT_APPEND := -Wall
export DEB_CXXFLAGS_MAINT_APPEND := -Wall
export DEB_LDFLAGS_MAINT_APPEND := -Wl,-z,defs -Wl,--as-needed
export DEB_BUILD_MAINT_OPTIONS := hardening=+all
include /usr/share/dpkg/pkg-info.mk

# For the repack: package name, mangled upstream version, non-free files
UVERNODFSG = $(subst +dfsg,,$(DEB_VERSION_UPSTREAM))


override_dh_auto_configure:
	dh_auto_configure --verbose -- \
		-DSUPPORT_JAVA_PROGRAMS=OFF

override_dh_auto_install:
	dh_auto_install --verbose
	# Clear the rpath set on some architectures (e.g. amd64)
	chrpath -d $(CURDIR)/debian/tmp/usr/bin/* \
		$(CURDIR)/debian/tmp/usr/lib/*/*.so
	rm -vf $(CURDIR)/debian/tmp/usr/lib/*/*.la

override_dh_makeshlibs:
	dh_makeshlibs -- -c4

%:
	dh $@