Skip to content
Commits on Source (5)
libgdal-grass (2.3.0~rc1-1~exp1) experimental; urgency=medium
* New upstream release candidate.
* Enable parallel make.
-- Bas Couwenberg <sebastic@debian.org> Fri, 04 May 2018 20:18:15 +0200
libgdal-grass (2.3.0~beta1-1~exp1) experimental; urgency=medium
* New upstream beta release.
......
......@@ -19,6 +19,11 @@ GRASS=grass$(subst .,,$(shell pkg-config --modversion grass | cut -d. -f1,2))
GRASS_ABI=grass$(subst .,,$(shell pkg-config --modversion grass | cut -d. -f1,2,3 | sed -e 's/RC/-/'))
GDAL=$(shell cat VERSION | cut -d. -f1,2)
NJOBS := -j1
ifneq (,$(filter parallel=%,$(subst $(COMMA), ,$(DEB_BUILD_OPTIONS))))
NJOBS := -j$(subst parallel=,,$(filter parallel=%,$(subst $(COMMA), ,$(DEB_BUILD_OPTIONS))))
endif
%:
dh $@ --with autoreconf --parallel
......@@ -48,7 +53,8 @@ override_dh_auto_configure:
override_dh_auto_install:
mkdir -p $(CURDIR)/debian/$(PKGNAME)/usr/lib/$(GDAL)/grass
$(MAKE) install AUTOLOAD_DIR=$(CURDIR)/debian/$(PKGNAME)/usr/lib/gdalplugins/$(GDAL) \
$(MAKE) $(NJOBS) install \
AUTOLOAD_DIR=$(CURDIR)/debian/$(PKGNAME)/usr/lib/gdalplugins/$(GDAL) \
GRASSTABLES_DIR=$(CURDIR)/debian/$(PKGNAME)/usr/lib/$(GDAL)/grass
# removes redundant stuff already installed by grass
......