Browse Source

wingrass: update setup.hint by build system

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@68538 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 9 years ago
parent
commit
d6d0f6bc2c
3 changed files with 22 additions and 3 deletions
  1. 4 1
      mswindows/Makefile
  2. 16 0
      mswindows/osgeo4w/Makefile
  3. 2 2
      mswindows/osgeo4w/setup.hint

+ 4 - 1
mswindows/Makefile

@@ -1,6 +1,9 @@
 MODULE_TOPDIR = ..
 
-include $(MODULE_TOPDIR)/include/Make/Other.make
+SUBDIRS = \
+	osgeo4w
+
+include $(MODULE_TOPDIR)/include/Make/Dir.make
 
 EXTRA_CLEAN_FILES = GRASS-Packager.bat GRASS-Installer.nsi
 

+ 16 - 0
mswindows/osgeo4w/Makefile

@@ -0,0 +1,16 @@
+MODULE_TOPDIR = ../..
+
+include $(MODULE_TOPDIR)/include/Make/Other.make
+
+EXTRA_CLEAN_FILES = setup.hint
+
+ifneq ($(MINGW),)
+default: setup.hint
+else
+default:
+endif
+
+setup.hint: setup.hint.tmpl
+	sed \
+	-e 's#@GRASS_VERSION_NUMBER@#$(GRASS_VERSION_NUMBER)#' \
+	$< > $@

+ 2 - 2
mswindows/osgeo4w/setup.hint

@@ -3,5 +3,5 @@ ldesc: "Geographic Resources Analysis Support System (GRASS GIS) - daily builds
 category: Desktop
 requires: liblas avce00 gpsbabel gs gdal-python matplotlib msvcrt iconv libtiff gdal proj freetype-mingw pdcurses zlib fftw libpng wxpython python-numpy python-pil pyopengl cairo psycopg2
 maintainer: MartinLanda
-curr: 7.1.svn-1
-prev: 7.1.svn-1
+curr: @GRASS_VERSION_NUMBER@-1
+prev: @GRASS_VERSION_NUMBER@-1