Skip to content

Commit

Permalink
Make sure we copy our support files to DESTDIR.
Browse files Browse the repository at this point in the history
svn path=/trunk/; revision=51194
  • Loading branch information
geraldcombs committed Aug 7, 2013
1 parent a2452d6 commit 6fea3ab
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions ui/qt/QtShark.pro
Original file line number Diff line number Diff line change
Expand Up @@ -312,8 +312,13 @@ EXTRA_BINFILES = \

# http://stackoverflow.com/questions/3984104/qmake-how-to-copy-a-file-to-the-output
unix: {
EXTRA_BINFILES += \
../../dumpcap
exists(../../.libs/dumpcap) {
EXTRA_BINFILES += \
../../.libs/dumpcap
} else:exists(../../dumpcap) {
EXTRA_BINFILES += \
../../dumpcap
}

exists(../../epan/.libs/libw*) {
EXTRA_BINFILES += \
Expand All @@ -329,7 +334,7 @@ unix: {
}
unix:!macx {
for(FILE,EXTRA_BINFILES){
QMAKE_POST_LINK += $$quote(cp $${FILE} .$$escape_expand(\\n\\t))
QMAKE_POST_LINK += $$quote(cp $${FILE} $${DESTDIR}$$escape_expand(\\n\\t))
}
}
# qmake 2.01a / Qt 4.7.0 doesn't set DESTDIR on OS X.
Expand Down

0 comments on commit 6fea3ab

Please sign in to comment.