[Spice-devel] [nsis v3 2/2] build: Don't add .pdb debug files to the installer

Christophe Fergeau cfergeau at redhat.com
Tue Dec 19 14:54:23 UTC 2017


The .pdb files contain the debug information for the drivers. They
increase significantly the size of the installer, so it's better not to
ship them.
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index df8f7bc..841f01a 100644
--- a/Makefile
+++ b/Makefile
@@ -102,7 +102,7 @@ common-files: $(VIRTIOWINDRIVERS)
 	$(RSYNC_AH) "$(VDA32BIN)"/vdservice.exe bin/vdagent_x86/
 	$(RSYNC_AH) "$(VDA64BIN)"/vdagent.exe bin/vdagent_x64/
 	$(RSYNC_AH) "$(VDA64BIN)"/vdservice.exe bin/vdagent_x64/
-	$(RSYNC_AH) "$(VIRTIOWINDRIVERS)"/* drivers/virtio/
+	$(RSYNC_AH) "$(VIRTIOWINDRIVERS)"/* --exclude "*.pdb" drivers/virtio/
 
 # TODO: Drop this once the drivers are shipped as normal files. See comment above.
 $(VIRTIOWINDRIVERS):
-- 
2.14.3



More information about the Spice-devel mailing list