File: rules

package info (click to toggle)
gnustep-performance 0.6.0-4
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 412 kB
  • sloc: objc: 5,294; makefile: 22
file content (32 lines) | stat: -rwxr-xr-x 777 bytes parent folder | download
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
30
31
32
#!/usr/bin/make -f
#DH_VERBOSE = 1

include /usr/share/GNUstep/debian/config.mk
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_build:
	cp debian/libperformance-dev.install.in \
	  debian/libperformance-dev.install
ifdef docs
	cp debian/libperformance-dev.links.in debian/libperformance-dev.links
else
# Remove /usr/share if "nodoc" is in DEB_BUILD_OPTIONS.
	sed -i '$$d' debian/libperformance-dev.install
endif
	dh_auto_build -- $(optim) $(verbose) $(docs) \
	  $(shell dpkg-buildflags --export=cmdline)

override_dh_auto_install:
	dh_auto_install -- $(verbose) $(docs)

override_dh_auto_clean:
	dh_auto_clean -- $(docs)

execute_before_dh_link:
	gsdh_gnustep

override_dh_strip:
	dh_strip --dbgsym-migration='libperformance0.5-dbg (<< 0.6.0-1~)'