File: rules

package info (click to toggle)
xqilla 2.3.3-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 44,220 kB
  • ctags: 27,890
  • sloc: cpp: 72,812; ansic: 21,322; sh: 10,157; yacc: 4,806; xml: 4,327; makefile: 1,071; lex: 800; sed: 17
file content (17 lines) | stat: -rwxr-xr-x 463 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

DEB_HOST_MULTIARCH  ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

# shared library versions, option 1
version=6.0.3

%:
	dh $@ --with autotools_dev

override_dh_auto_configure:
	dh_auto_configure -- --with-xerces=/usr $(shell dpkg-buildflags --export=configure)

override_dh_auto_install:
	$(MAKE) DESTDIR=$(CURDIR) install
	chrpath -d $(CURDIR)/usr/lib/$(DEB_HOST_MULTIARCH)/libxqilla.so.$(version)
	chrpath -d $(CURDIR)/usr/bin/xqilla