[tasque/windows] [xbuild] Only setup bin file for install, if it exists
- From: Antonius Riha <antoniusri src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tasque/windows] [xbuild] Only setup bin file for install, if it exists
- Date: Thu, 20 Sep 2012 18:10:08 +0000 (UTC)
commit 025c2aa6f7035190404c9e8acd22982b123d1f62
Author: Antonius Riha <antoniusriha gmail com>
Date: Thu Sep 20 20:09:52 2012 +0200
[xbuild] Only setup bin file for install, if it exists
build/Tasque.targets | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/build/Tasque.targets b/build/Tasque.targets
index 41ab721..97e3730 100644
--- a/build/Tasque.targets
+++ b/build/Tasque.targets
@@ -262,7 +262,7 @@
<Target Name="_SetupBinInstallFile">
<Message Text="$(TargetFileName)" />
- <CreateItem Include="$(TargetFileName)" AdditionalMetadata="InstallPath=$(PkgLibDir);InstallFileName=$(TargetFileName)">
+ <CreateItem Condition=" Exists('$(TargetFileName)') " Include="$(TargetFileName)" AdditionalMetadata="InstallPath=$(PkgLibDir);InstallFileName=$(TargetFileName)">
<Output TaskParameter="Include" ItemName="_PreInstallFile" />
</CreateItem>
<CreateItem Condition=" '%(Extension)' != '.exe' " Include="@(_PreInstallFile)" AdditionalMetadata="Executable=false">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]