mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-18 03:52:11 +01:00
Ground/Share: Ok, previous patch for this messed up on windows. I'm making
Linux/Windows act like before but Linux people should check if they want the mac version or not, I'd guess $(COPY_DIR) on mac more like osx. git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1779 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
fef8cca5b6
commit
bdcca823fc
@ -7,8 +7,15 @@ DATACOLLECTIONS = dials models pfd sounds diagrams mapicons
|
|||||||
|
|
||||||
equals(copydata, 1) {
|
equals(copydata, 1) {
|
||||||
for(dir, DATACOLLECTIONS) {
|
for(dir, DATACOLLECTIONS) {
|
||||||
exists($$GCS_SOURCE_TREE/share/openpilotgcs/$$dir) {
|
macx{
|
||||||
data_copy.commands += $(COPY_DIR) $$targetPath(\"$$GCS_SOURCE_TREE/share/openpilotgcs/$$dir\") $$targetPath(\"$$GCS_DATA_PATH/\") $$addNewline()
|
exists($$GCS_SOURCE_TREE/share/openpilotgcs/$$dir) {
|
||||||
|
data_copy.commands += $(COPY_DIR) $$targetPath(\"$$GCS_SOURCE_TREE/share/openpilotgcs/$$dir\") $$targetPath(\"$$GCS_DATA_PATH/\") $$addNewline()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
!macx{
|
||||||
|
exists($$GCS_SOURCE_TREE/share/openpilotgcs/$$dir) {
|
||||||
|
data_copy.commands += $(COPY_DIR) $$targetPath(\"$$GCS_SOURCE_TREE/share/openpilotgcs/$$dir\") $$targetPath(\"$$GCS_DATA_PATH/$$dir\") $$addNewline()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
data_copy.target = FORCE
|
data_copy.target = FORCE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user