File: rules

package info (click to toggle)
midisnoop 0.1.2~repack0-5
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 456 kB
  • ctags: 247
  • sloc: cpp: 2,093; python: 243; sh: 166; makefile: 13
file content (24 lines) | stat: -rwxr-xr-x 566 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
#!/usr/bin/make -f

#LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
#export LDFLAGS+=-Wl,--as-needed

export QT_SELECT=qt4

export REPACK_SH=$(CURDIR)/debian/repack.sh

DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)

%:
	dh $@

override_dh_auto_configure:
	./configure --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr

override_dh_auto_install:
	dh_auto_install
	install -d $(CURDIR)/debian/midisnoop/usr/share/pixmaps/
	install -m 644 $(CURDIR)/debian/*.xpm $(CURDIR)/debian/midisnoop/usr/share/pixmaps/

get-orig-source:
	uscan --force-download