mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-11-29 07:24:13 +01:00
OP-1666 deb tidy: changed to using make install
This commit is contained in:
parent
b45057fe89
commit
059b52597b
@ -30,16 +30,7 @@ install:
|
||||
dh_prep
|
||||
dh_installdirs
|
||||
dh_installudev --priority=45
|
||||
# Add here commands to install the package into debian/<packagename>
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user