aboutsummaryrefslogtreecommitdiff
path: root/debian/rules
blob: 3544576d1b1a31138fa2811d593557853184e340 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

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

%:
	dh ${@}

override_dh_auto_configure:
	dh_auto_configure -- --disable-rpath

execute_after_dh_auto_install:
	# Removing useless files
	rm -f debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/*.la
	rm -f debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/gnunet/*.la


override_dh_install:
	dh_install
	cd debian/libgnunetgtk; find . -type f,l -exec rm -f ../gnunet-gtk/{} \;
	cd debian/libgnunetgtk; find . -type f,l -exec rm -f ../libgnunetgtk-dev/{} \;