File: rules

package info (click to toggle)
docky 2.0.6-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 6,280 kB
  • ctags: 5,001
  • sloc: cs: 30,675; python: 1,670; sh: 1,276; makefile: 900; xml: 16
file content (35 lines) | stat: -rwxr-xr-x 959 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
34
35
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

include /usr/share/cli-common/cli.make
include /usr/share/quilt/quilt.make

override_dh_pysupport:
# Don't byte compile helpers — causes broken ones to also show up in prefs
	dh_pysupport -X /usr/share/docky/helpers/

override_dh_auto_configure:
	autoreconf -vi
	dh_auto_configure -- MCS=/usr/bin/mono-csc

override_dh_auto_clean:
	dh_auto_clean
# Clean up the autofoo changes
	find . -name Makefile.in -type f -delete
	-rm configure aclocal.m4 lib/Makefile

override_dh_auto_install:
	dh_auto_install
# Upstream installs the metadata as executable.
	chmod -x debian/tmp/usr/share/docky/helpers/metadata/*.info
# The NetworkManager docklet requires an unreleased ndesk-dbus to work.
	rm debian/tmp/usr/lib/docky/plugins/NetworkManager.dll

override_dh_makeclilibs:
# Docky's gio-sharp is private
	dh_makeclilibs -X usr/lib/docky/*

%:
	dh --with quilt $@