Browse Source

disable swig, reenable when https://trac.osgeo.org/grass/ticket/1125 is fixed

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@43132 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 15 years ago
parent
commit
f0b24e54dc
1 changed files with 5 additions and 1 deletions
  1. 5 1
      lib/python/Makefile

+ 5 - 1
lib/python/Makefile

@@ -13,10 +13,14 @@ MODULES = core db raster vector array
 PYFILES := $(patsubst %,$(DSTDIR)/%.py,$(MODULES) __init__)
 PYFILES := $(patsubst %,$(DSTDIR)/%.py,$(MODULES) __init__)
 PYCFILES := $(patsubst %,$(DSTDIR)/%.pyc,$(MODULES) __init__)
 PYCFILES := $(patsubst %,$(DSTDIR)/%.pyc,$(MODULES) __init__)
 
 
-CLEAN_SUBDIRS = ctypes
+ifeq ($(MINGW),)
+	CLEAN_SUBDIRS = ctypes
+endif
 
 
 default: $(PYFILES) $(PYCFILES) $(GDIR)/__init__.py $(GDIR)/__init__.pyc
 default: $(PYFILES) $(PYCFILES) $(GDIR)/__init__.py $(GDIR)/__init__.pyc
+ifeq ($(MINGW),)
 	-$(MAKE) -C ctypes || echo $(CURDIR)/ctypes >> $(ERRORLOG)
 	-$(MAKE) -C ctypes || echo $(CURDIR)/ctypes >> $(ERRORLOG)
+endif
 
 
 $(PYDIR):
 $(PYDIR):
 	$(MKDIR) $@
 	$(MKDIR) $@