[vlc-commits] win64 package: use -win64 version string
Rafaël Carré
git at videolan.org
Tue Feb 28 04:09:28 CET 2012
vlc/vlc-2.0 | branch: master | Rafaël Carré <funman at videolan.org> | Sat Dec 17 15:35:03 2011 -0500| [44af4993e740e54324d9418760feac6a92c7c147] | committer: Rafaël Carré
win64 package: use -win64 version string
(cherry picked from commit 9373df563139acb2e8d2af6f531c0baaf5a08aa9)
Signed-off-by: Rafaël Carré <funman at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=44af4993e740e54324d9418760feac6a92c7c147
---
extras/package/win32/package.mak | 18 ++++++++++++------
1 files changed, 12 insertions(+), 6 deletions(-)
diff --git a/extras/package/win32/package.mak b/extras/package/win32/package.mak
index bdcc009..abf0bb1 100644
--- a/extras/package/win32/package.mak
+++ b/extras/package/win32/package.mak
@@ -19,6 +19,12 @@ include extras/package/npapi.am
endif
endif
+if HAVE_WIN64
+WINVERSION=vlc-$(VERSION)-win64
+else
+WINVERSION=vlc-$(VERSION)-win32
+endif
+
package-win-install:
$(MAKE) install
touch $@
@@ -154,18 +160,18 @@ package-win32-exe: package-win-strip
eval "$$MAKENSIS $(win32_destdir)/vlc.win32.nsi"
package-win32-zip: package-win-strip
- rm -f -- vlc-$(VERSION)-win32.zip
- zip -r -9 vlc-$(VERSION)-win32.zip vlc-$(VERSION)
+ rm -f -- $(WINVERSION).zip
+ zip -r -9 $(WINVERSION).zip vlc-$(VERSION)
package-win32-debug-zip: package-win-common
- rm -f -- vlc-$(VERSION)-win32-debug.zip
- zip -r -9 vlc-$(VERSION)-win32-debug.zip vlc-$(VERSION)
+ rm -f -- $(WINVERSION)-debug.zip
+ zip -r -9 $(WINVERSION)-debug.zip vlc-$(VERSION)
package-win32-7zip: package-win-strip
- 7z a $(7Z_OPTS) vlc-$(VERSION)-win32.7z vlc-$(VERSION)
+ 7z a $(7Z_OPTS) $(WINVERSION).7z vlc-$(VERSION)
package-win32-debug-7zip: package-win-common
- 7z a $(7Z_OPTS) vlc-$(VERSION)-win32-debug.7z vlc-$(VERSION)
+ 7z a $(7Z_OPTS) $(WINVERSION)-debug.7z vlc-$(VERSION)
package-win32-cleanup:
rm -Rf $(win32_destdir) $(win32_debugdir) $(win32_xpi_destdir)
More information about the vlc-commits
mailing list