File: rules

package info (click to toggle)
libzia 4.32-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 3,304 kB
  • sloc: ansic: 24,009; sh: 4,407; makefile: 212
file content (23 lines) | stat: -rwxr-xr-x 615 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
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

override_dh_auto_configure:
	dh_auto_configure -- --without-bfd

override_dh_fixperms:
	dh_fixperms
	ls -l debian/libzia/usr/lib/$(DEB_HOST_MULTIARCH)/libzia/lib*.d
	chmod a-x debian/libzia/usr/lib/$(DEB_HOST_MULTIARCH)/libzia/lib*.d
	ls -l debian/libzia/usr/lib/$(DEB_HOST_MULTIARCH)/libzia/lib*.d
	sed -i "/dependency_libs/ s/'.*'/''/" debian/libzia-dev/usr/lib/$(DEB_HOST_MULTIARCH)/libzia.la

override_dh_clean:
	rm -f config.log settings
	dh_clean

%:
	dh $@