File: rules

package info (click to toggle)
yelp 42.2-4
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 10,836 kB
  • sloc: javascript: 18,558; sh: 16,058; ansic: 15,943; makefile: 749; xml: 21; python: 19; sed: 16
file content (33 lines) | stat: -rwxr-xr-x 749 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
33
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,-z,defs

%:
	dh $@

execute_after_dh_auto_clean:
	rm -f debian/yelp.1

override_dh_auto_configure:
	dh_auto_configure -- --enable-gtk-doc

execute_after_dh_auto_build:
	/usr/bin/docbook-to-man debian/yelp.sgml > debian/yelp.1

override_dh_makeshlibs:
	dh_makeshlibs -X/usr/lib/$(DEB_HOST_MULTIARCH)/yelp/ -- -c4

execute_before_dh_install:
	find debian/tmp -name '*.a' -print -delete
	find debian/tmp -name '*.la' -print -delete

# Ubuntu uses other fonts
override_dh_gencontrol:
ifneq ($(shell dpkg-vendor --query vendor),Ubuntu)
	dh_gencontrol -- -Vfonts:Recommends='fonts-dejavu'
else
	dh_gencontrol
endif

override_dh_gnome_clean: