From 059b52597b6a5897008df123f96d1773d2b06bd5 Mon Sep 17 00:00:00 2001 From: James Duley Date: Wed, 7 Jan 2015 16:39:37 +1300 Subject: [PATCH] OP-1666 deb tidy: changed to using make install --- package/linux/deb_common/rules | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/package/linux/deb_common/rules b/package/linux/deb_common/rules index a57d869a3..60fc11126 100644 --- a/package/linux/deb_common/rules +++ b/package/linux/deb_common/rules @@ -30,16 +30,7 @@ install: dh_prep dh_installdirs dh_installudev --priority=45 - # Add here commands to install the package into debian/ - cp -arp build/openpilotgcs_release/bin debian/openpilot/usr/local/OpenPilot - cp -arp build/openpilotgcs_release/lib debian/openpilot/usr/local/OpenPilot - cp -arp build/openpilotgcs_release/share debian/openpilot/usr/local/OpenPilot - cp -arp package/linux/qt.conf debian/openpilot/usr/local/OpenPilot/bin - cp -arp package/linux/openpilot.desktop debian/openpilot/usr/share/applications - cp -arp package/linux/openpilot.png debian/openpilot/usr/share/pixmaps - ln -s /usr/local/OpenPilot/bin/openpilotgcs `pwd`/debian/openpilot/usr/bin/openpilotgcs -# Removing leaked files from the dist - find debian/openpilot -name Makefile -exec rm -f {} \; + $(MAKE) prefix=/usr DESTDIR=$(CURDIR)/debian/openpilot install # Build architecture-independent files here. binary-indep: install