aboutsummaryrefslogtreecommitdiff
path: root/debian/rules
blob: 4b9dac600728255bf89ed7efb2282194895608a5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/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_builddeb:
	dh_builddeb -- -Zgzip

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/{} \;