File: rules

package info (click to toggle)
xmms2-scrobbler 0.4.0-4
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, sid
  • size: 204 kB
  • ctags: 167
  • sloc: ansic: 1,214; makefile: 53
file content (15 lines) | stat: -rwxr-xr-x 361 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

buildflags = \
	CFLAGS="-std=gnu99 $(shell dpkg-buildflags --get CFLAGS) $(shell dpkg-buildflags --get CPPFLAGS)" \
	LDFLAGS="$(shell dpkg-buildflags --get LDFLAGS)" \
	VERBOSE=1

%:
	dh $@

override_dh_auto_build:
	dh_auto_build -- $(buildflags)

override_dh_auto_install:
	make install DESTDIR=$(CURDIR)/debian/xmms2-scrobbler PREFIX=/usr