File: rules

package info (click to toggle)
gobby 0.6.0-1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye
  • size: 4,804 kB
  • sloc: cpp: 19,403; ansic: 12,094; sh: 4,162; makefile: 417; xml: 42
file content (34 lines) | stat: -rwxr-xr-x 898 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
24
25
26
27
28
29
30
31
32
33
34
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS="hardening=+all"

%:
	dh $@ --with autoreconf

override_dh_autoreconf:
	glib-gettextize --copy --force
	intltoolize --copy --force --automake
	dh_autoreconf

override_dh_auto_configure:
	dh_auto_configure -- \
		--with-unique \
		--with-gtk3 \
		--disable-scrollkeeper

override_dh_auto_install:
	dh_auto_install
	# Fix up the wrongly installed icon.
	mkdir -p "$(CURDIR)/debian/gobby/usr/share/gobby-0.5/icons/hicolor/64x64/actions"
	mv "$(CURDIR)/debian/gobby/usr/share/gobby-0.5/icons/hicolor/48x48/actions/chat.png" \
		"$(CURDIR)/debian/gobby/usr/share/gobby-0.5/icons/hicolor/64x64/actions"

override_dh_strip:
	dh_strip -a

override_dh_auto_clean:
	[ ! -f Makefile ] || $(MAKE) distclean
	rm -f gnome-doc-utils.make po/Makefile.in.in config.log config.status
	rm -f help/Makefile help/gobby-C.omf po/missing
	rm -f po/*.gmo
	rm -f Makefile