File: rules

package info (click to toggle)
gnome-packagekit 3.4.2-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 21,088 kB
  • sloc: ansic: 20,866; sh: 11,484; xml: 9,629; python: 1,179; makefile: 866
file content (28 lines) | stat: -rwxr-xr-x 673 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
#!/usr/bin/make -f
#export DH_VERBOSE=1

GPK_CONFIGURE_FLAGS = --disable-tests \
			--disable-scrollkeeper

# Define install and build directory
INSTALLDIR = $(CURDIR)/debian/tmp

%:
	dh $@ --parallel --with python2

override_dh_auto_configure:
	dh_auto_configure -- $(GPK_CONFIGURE_FLAGS)

override_dh_auto_install:
	dh_auto_install --destdir=$(INSTALLDIR)

	# We don't ship these files
	rm -f $(INSTALLDIR)/usr/share/applications/gpk-distro-upgrade.desktop
	rm -f $(INSTALLDIR)/usr/bin/gpk-distro-upgrade
	rm -f $(INSTALLDIR)/usr/lib/gnome-settings-daemon-3.0/gtk-modules/gpk-*

override_dh_install:
	dh_install --list-missing

override_dh_builddeb:
	dh_builddeb -- -Zxz