1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-03 11:24:10 +01:00
LibrePilot/ground/share/share.pro
dankers 6386091178 share.pro needs quotes for paths with spaces.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1021 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-04 12:37:57 +00:00

19 lines
505 B
Prolog

include(../openpilotgcs.pri)
TEMPLATE = subdirs
SUBDIRS = openpilotgcs/translations
DATACOLLECTIONS = dials models pfd sounds
equals(copydata, 1) {
for(dir, DATACOLLECTIONS) {
exists(openpilotgcs/$$dir) {
data_copy.commands += $(COPY_DIR) $$targetPath(\"$$GCS_SOURCE_TREE/share/openpilotgcs/$$dir\") $$targetPath(\"$$GCS_DATA_PATH/$$dir\") $$addNewline()
}
}
data_copy.target = FORCE
QMAKE_EXTRA_TARGETS += data_copy
}