File: rules

package info (click to toggle)
mimetic 0.9.8-9
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,908 kB
  • sloc: sh: 12,245; cpp: 11,296; makefile: 119
file content (22 lines) | stat: -rwxr-xr-x 605 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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_build-indep:
ifeq ($(filter nodoc,$(DEB_BUILD_OPTIONS))$(filter nodoc,$(DEB_BUILD_PROFILES)),)
	$(MAKE) -C $(CURDIR)/doc docs
endif

override_dh_installexamples-indep:
	dh_installexamples
	sed -i -e "s,$(CURDIR),/<<PKGBUILDDIR>>,g" $(CURDIR)/debian/libmimetic-doc/usr/share/doc/libmimetic-dev/examples/Makefile

override_dh_strip:
	dh_strip --dbgsym-migration='libmimetic0-dbg (<< 0.9.8-3~)'

override_dh_makeshlibs:
	# For new symbols when compiled with GCC 7
	dh_makeshlibs -V'libmimetic0v5 (>= 0.9.8-6~)'