Commit 15a5a372 authored by Christophe Mutricy's avatar Christophe Mutricy

More config.status magic.

I'm not sure why we have a PRODUCT_VERSION and VERSION
parent 7290a1dc
...@@ -860,13 +860,13 @@ package-win32-base: package-win32-base-debug package-win-common-strip ...@@ -860,13 +860,13 @@ package-win32-base: package-win32-base-debug package-win-common-strip
package-win32-base-exe: package-win32-base package-win32-base-exe: package-win32-base
# Create package # Create package
if makensis -VERSION >/dev/null 2>&1; then \ if makensis -VERSION >/dev/null 2>&1; then \
MAKENSIS="makensis -DVERSION=$(VERSION)"; \ MAKENSIS="makensis"; \
elif [ -x "/cygdrive/c/Program Files/NSIS/makensis" ]; then \ elif [ -x "/cygdrive/c/Program Files/NSIS/makensis" ]; then \
MAKENSIS="/cygdrive/c/Program\ Files/NSIS/makensis /DVERSION=$(VERSION)"; \ MAKENSIS="/cygdrive/c/Program\ Files/NSIS/makensis)"; \
elif [ -x "$(PROGRAMFILES)/NSIS/makensis" ]; then \ elif [ -x "$(PROGRAMFILES)/NSIS/makensis" ]; then \
MAKENSIS="$(PROGRAMFILES)/NSIS/makensis -DVERSION=$(VERSION)"; \ MAKENSIS="$(PROGRAMFILES)/NSIS/makensis"; \
elif wine --version >/dev/null 2>&1; then \ elif wine --version >/dev/null 2>&1; then \
MAKENSIS="wine C:/Program\ Files/NSIS/makensis.exe /DVERSION=$(VERSION)"; \ MAKENSIS="wine C:/Program\ Files/NSIS/makensis.exe"; \
else \ else \
echo 'Error: cannot locate makensis tool'; exit 1; \ echo 'Error: cannot locate makensis tool'; exit 1; \
fi; \ fi; \
...@@ -877,7 +877,7 @@ package-win32-base-exe-cygwin: package-win32-base-exe ...@@ -877,7 +877,7 @@ package-win32-base-exe-cygwin: package-win32-base-exe
package-win32-base-exe-linux: package-win32-base-exe-linux:
# Create package # Create package
makensis -DVERSION=$(VERSION) $(top_builddir)/vlc-$(VERSION)/vlc.win32.nsi makensis $(top_builddir)/vlc-$(VERSION)/vlc.win32.nsi
package-win32-base-zip: package-win32-base package-win32-base-zip: package-win32-base
# Create package # Create package
......
...@@ -4,7 +4,8 @@ ...@@ -4,7 +4,8 @@
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
!define PRODUCT_NAME "VLC media player" !define PRODUCT_NAME "VLC media player"
!define PRODUCT_VERSION '0.9.0-git' !define VERSION @VERSION@
!define PRODUCT_VERSION @VERSION@
!define PRODUCT_GROUP "VideoLAN" !define PRODUCT_GROUP "VideoLAN"
!define PRODUCT_PUBLISHER "VideoLAN Team" !define PRODUCT_PUBLISHER "VideoLAN Team"
!define PRODUCT_WEB_SITE "http://www.videolan.org" !define PRODUCT_WEB_SITE "http://www.videolan.org"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment