File: rules

package info (click to toggle)
quodlibet-plugins 20060823-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 288 kB
  • ctags: 611
  • sloc: python: 3,375; makefile: 23; sh: 11
file content (32 lines) | stat: -rwxr-xr-x 604 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
#!/usr/bin/make -f
# debian/rules for quodlibet-plugins
# It's obscenely simple. I feel bad.

D := debian/quodlibet-plugins
U := usr/share/quodlibet/plugins
P := $(D)/$(U)
EXCLUDE := songsmenu/replaygain.py

build binary-arch install:
# Ye olde no-op.

binary: binary-indep

binary-indep:
	dh_clean -k
	dh_installdirs $(U)
	for plugin in $(filter-out $(EXCLUDE), $(wildcard */*.py *.py)); do \
		install -D -m 644 -o 0 -g 0 $$plugin $(P)/$$plugin; \
	done
	dh_installchangelogs
	dh_installdocs
	dh_installdeb
	dh_python
	dh_compress
	dh_fixperms
	dh_gencontrol
	dh_md5sums
	dh_builddeb

clean:
	dh_clean