File: rules

package info (click to toggle)
kaffeine 0.8.7-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 14,388 kB
  • ctags: 6,731
  • sloc: cpp: 32,425; ansic: 19,864; sh: 9,944; perl: 2,760; makefile: 524; xml: 128
file content (35 lines) | stat: -rwxr-xr-x 1,424 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

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/kde.mk
include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk

DEB_CONFIGURE_EXTRA_FLAGS := --without-gstreamer --without-lame
DEB_CONFIGURE_SCRIPT_ENV += \
							CFLAGS="-g -Wall $(DEB_OPT_FLAG) -fasynchronous-unwind-tables" \
							LDFLAGS="-Wl,--as-needed" \
							CPPFLAGS="-g -Wall $(DEB_OPT_FLAG) -fasynchronous-unwind-tables" \
							CXXFLAGS="-g -Wall $(DEB_OPT_FLAG) -fasynchronous-unwind-tables"
DEB_DESTDIR := $(CURDIR)/debian/kaffeine/
DEB_INSTALL_MANPAGES_kaffeine := debian/kaffeine.1

install/kaffeine::
	install -D -p -m0644 debian/kaffeine.xpm debian/kaffeine/usr/share/pixmaps/kaffeine.xpm
	install -D -p -m0644 debian/kaffeine.lintian-overrides debian/kaffeine/usr/share/lintian/overrides/kaffeine
	install -D -p -m0755 debian/install-css.sh debian/kaffeine/usr/share/doc/kaffeine/install-css.sh
	install -D -p -m0644 debian/kaffeine-iso.desktop debian/kaffeine/usr/share/applications/kde/kaffeine-iso.desktop

	# file shipped by kdelibs
	rm -f debian/kaffeine/usr/share/mimelnk/application/x-mplayer2.desktop
	# Bogus, shouldn't be shipped..
	rm -f debian/kaffeine/usr/share/doc/kde/HTML/en/doc/CMakeLists.txt

clean::
	find po -type f -name '*.gmo' | xargs rm -f

get-orig-source-dpatch:
	 @@dh_testdir
	 @@[ -d ../tarballs/. ]
	 @@dpatch-get-origtargz ../tarballs