File: rules

package info (click to toggle)
cubew 4.7-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 9,396 kB
  • sloc: ansic: 17,952; sh: 4,818; cpp: 814; makefile: 244; awk: 50; xml: 6
file content (27 lines) | stat: -rwxr-xr-x 642 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
#!/usr/bin/make -f

#export DH_VERBOSE = 1

# see FEATURE AREAS in dpkg-buildflags(1)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all


%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --enable-shared
	sed -i -r 's/ -ffile-prefix-map=[^ ]* / /g' cubew.summary

override_dh_auto_build-indep:
	$(MAKE) doxygen-user-pack

override_dh_auto_install-arch:
	# do not unpack the shipped tarball
	dh_auto_install -- htmldocpackdir=nonexistent
	$(RM) debian/tmp/usr/lib/*/libcube4w.la

override_dh_auto_install-indep:
	$(MAKE) doxygen-user-unpack htmldocpackdir='$$(USER_DOC_DIR)' DESTDIR=$(CURDIR)/debian/tmp

override_dh_auto_test-indep: