aboutsummaryrefslogtreecommitdiff
path: root/debian/rules
blob: deedfacce02b4e2ebe4c92491fd43b6d4123d1a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

%:
	dh $@


override_dh_auto_configure:
	dh_auto_configure -- -DCMAKE_INSTALL_INCLUDEDIR=include/libqmatrixclient -DBUILD_SHARED_LIBS=1

override_dh_auto_install:
	dh_auto_install
# unused example file -- remove to avoid warning from dh_missing
	rm debian/tmp/usr/bin/qmc-example
# libQMatrixClient 0.5.3 doesn't change the ABI from libQMatrixClient0.5.1
	ln -s libQMatrixClient.so.0.5.3.2 debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libQMatrixClient.so.0.5.1