[NSIS 08/13] build: Remove need for ISO_ROOT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Christophe Fergeau <cfergeau@xxxxxxxxxx>

We can pass directly the name of the files we want to be in the iso.

Change-Id: I6c5d2ae82a23ae4ba1d0249b6aefc61ccbc5b0a6
Signed-off-by: Christophe Fergeau <cfergeau@xxxxxxxxxx>
---
 Makefile | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/Makefile b/Makefile
index 068d774..f96c3d3 100644
--- a/Makefile
+++ b/Makefile
@@ -13,7 +13,7 @@ INSTALLER=spice-guest-tools-$(VERSION).exe
 # 'make install' target (in /usr/share)
 INSTALL_NAME=spice-guest-tools-iso
 # ISO image filename
-ISO_IMAGE=SPICE-tools_$(DISPLAYED_VERSION).iso
+ISO_IMAGE=SPICE-tools-$(DISPLAYED_VERSION).iso
 # link also to this name which has no version
 ISO_GENERIC=SPICE-tools.iso
 # ISO image preparer and publisher
@@ -34,7 +34,6 @@ endif
 endif
 
 TEMP_DIR=temp_dir
-ISO_ROOT=$(TEMP_DIR)/iso
 
 # common dependencies/sources
 
@@ -135,9 +134,7 @@ endif
 iso: $(ISO_IMAGE)
 
 $(ISO_IMAGE): installer
-	mkdir -p "$(ISO_ROOT)"
-	$(RSYNC_AH) "$(INSTALLER)" bin drivers "$(ISO_ROOT)"
-	mkisofs -J -rational-rock -full-iso9660-filenames -verbose -V "$(ISO_LABEL)" -preparer "$(ISO_P_TEXT)" -publisher "$(ISO_P_TEXT)" -o "$(ISO_IMAGE)" "$(ISO_ROOT)"
+	mkisofs -J -rational-rock -full-iso9660-filenames -verbose -V "$(ISO_LABEL)" -preparer "$(ISO_P_TEXT)" -publisher "$(ISO_P_TEXT)" -o "$(ISO_IMAGE)" bin drivers $(INSTALLER)
 
 install: iso
 	mkdir -p "$(DESTDIR)$(INSTALL_DATA_DIR)"
-- 
2.1.4

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]