File: rules

package info (click to toggle)
muparser 2.1.0-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 4,596 kB
  • sloc: cpp: 6,032; sh: 2,680; ansic: 788; makefile: 321
file content (21 lines) | stat: -rwxr-xr-x 621 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
#!/usr/bin/make -f

#export DH_VERBOSE=1
DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^+]+).*-.*,\1,p')
%:
	dh $@

override_dh_auto_configure:
	bash build/autoconf/acregen.sh
	cp /usr/share/misc/config.sub build/autoconf
	cp /usr/share/misc/config.guess build/autoconf
	dh_auto_configure

override_dh_makeshlibs:
	#pkgkde-symbols helper is managing the symbols file.
	#Sometimes we'll FTBFS on other arch's toolchains that export or miss
	#symbols found by the local arch.
	dh_makeshlibs -- -c0 -v$(DEB_UPSTREAM_VERSION)

get-orig-source:
	uscan --repack --rename --download-current-version