mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-17 02:52:12 +01:00
Updates based on review feedback. Fixed (unlikely) case of empty
PACKAGE_DIR var to prevent splatered copying.
This commit is contained in:
parent
ed86805458
commit
15061dccab
@ -19,7 +19,7 @@ export DH_OPTIONS=-v
|
||||
#%:
|
||||
# dh $@
|
||||
|
||||
PACKAGE_DIR := $(shell cat build/package_dir)
|
||||
PACKAGE_DIR = $(shell cat build/package_dir)
|
||||
|
||||
clean:
|
||||
dh_testdir
|
||||
@ -43,7 +43,9 @@ install:
|
||||
cp -arp package/linux/rc_applications.menu debian/openpilot/etc/xdg/menus/applications-merged
|
||||
cp -arp package/linux/rc_applications.directory debian/openpilot/usr/share/desktop-directories
|
||||
cp -arp package/linux/45-openpilot-permissions.rules debian/openpilot/etc/udev/rules.d
|
||||
ifdef $(PACKAGE_DIR)
|
||||
cp -ar $(PACKAGE_DIR)/* debian/openpilot/usr/local/OpenPilot/firmware/
|
||||
endif
|
||||
ln -s /usr/local/OpenPilot/bin/openpilotgcs.bin `pwd`/debian/openpilot/usr/bin/openpilot-gcs
|
||||
rm -rf debian/openpilot/usr/local/OpenPilot/share/openpilotgcs/sounds/sounds
|
||||
rm -rf debian/openpilot/usr/local/OpenPilot/share/openpilotgcs/pfd/pfd
|
||||
|
Loading…
x
Reference in New Issue
Block a user