[gsettings-desktop-schemas] win32: define variables if not defined yet



commit 9fbd4539297c024858b157933a64ec4d7c8fa365
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Wed Oct 14 16:12:14 2015 +0200

    win32: define variables if not defined yet

 build/win32/gsettings-desktop-schemas-msvc.mak.in |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/build/win32/gsettings-desktop-schemas-msvc.mak.in 
b/build/win32/gsettings-desktop-schemas-msvc.mak.in
index fd78eee..b255ed2 100644
--- a/build/win32/gsettings-desktop-schemas-msvc.mak.in
+++ b/build/win32/gsettings-desktop-schemas-msvc.mak.in
@@ -11,21 +11,27 @@ CHECK_PACKAGE=gio-2.0
 # Python 3.x can be used unless introspection files are to be built,
 # where only Python 2.7.x is supported
 
+!IF "$(PYTHON)" == ""
 PYTHON=python
+!ENDIF
+
 PYTHON2=$(PYTHON)
 
 # Prefix of your installation.  Pass in PREFIX=<your-installation-prefix>
 # if needed.  glib-compile-schemas.exe and glib-mkenums need to be found
 # in $(PREFIX)\bin
+!IF "$(PREFIX)" == ""
 PREFIX=..\..\..\vs$(VSVER)\$(PLAT)
+!ENDIF
 
 !include introspection-msvc.mak
 
 # The PERL interpretor is required as we need to run the glib-mkenums
 # PERL script to generate the schemas from the enumerations.  It needs to
 # be in your path or you need to pass in PERL=<full-path-to-your-PERL-executable>
-
+!IF "$(PERL)" == ""
 PERL=perl.exe
+!ENDIF
 
 ERRNUL  = 2>NUL
 _HASH=^#


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