How will the gdal-grass tarball be generated?

Will frmts/grass/GNUmakefile remain with only the dist target, e.g. like attached patch?

Kind Regards,

Bas

--
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1
diff --git a/frmts/grass/GNUmakefile b/frmts/grass/GNUmakefile
index ce4c30a06e..8d35789cde 100644
--- a/frmts/grass/GNUmakefile
+++ b/frmts/grass/GNUmakefile
@@ -1,18 +1,4 @@
-
-
-include ../../GDALmake.opt
-
-OBJ	=	grass.o
-
-CPPFLAGS	:=	 -DGRASS_GISBASE=\"$(GRASS_GISBASE)\" $(GRASS_INCLUDE) $(PROJ_INCLUDE) $(CPPFLAGS)
-
-default:	$(OBJ:.o=.$(OBJ_EXT))
-
-clean:
-	rm -f *.o $(O_OBJ) $(OBJ)
-	rm -f *~
-
-install-obj:	$(O_OBJ:.o=.$(OBJ_EXT))
+GDAL_VER=$(strip $(shell grep GDAL_RELEASE_NAME ../../gcore/gdal_version.h.in | awk -F'"' '{print $$2}'))
 
 dist:
 	cp -r pkg gdal-grass-$(GDAL_VER)
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to