4
# Uncomment this to turn on verbose mode.
7
version=`ls _bin/lib*.so.* | \
8
awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
9
major=`ls _bin/lib*.so.* | \
10
awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
12
LDFLAGS += "-Wl,--no-undefined -Wl,--as-needed"
14
configure: config-stamp
17
./configure --release --prefix /usr --no-strip
22
build-stamp: configure
25
# Add here commands to compile the package.
26
$(MAKE) headers __src __fingerprint
33
rm -f build-stamp config-stamp
35
# Add here commands to clean up after the build process.
36
[ ! -f Makefile ] || $(MAKE) distclean || true
46
# Add here commands to install the package into debian/tmp
47
DESTDIR=$(CURDIR)/debian/tmp $(MAKE) install
50
# Build architecture-independent files here.
52
# We have nothing to do by default.
54
# Build architecture-dependent files here.
64
dh_strip --dbg-package=liblastfm-dbg
67
dh_makeshlibs -pliblastfm0 -V'liblastfm0 (>= 0.4.0~git20090710)'
68
dh_makeshlibs -pliblastfm-fingerprint0 -V'liblastfm-fingerprint0'
75
binary: binary-indep binary-arch
76
.PHONY: build clean binary-indep binary-arch binary install