@@ -190,14 +190,9 @@ cleantemplates:
190190 $(MAKE ) -f debian/rules templateclean
191191 $(MAKE ) -f debian/rules debian/control debian/compat
192192
193- build : ;
194-
195- binary binary-arch binary-indep build-arch build-indep clean install install-arch install-indep :
193+ binary binary-arch binary-indep build build-arch build-indep clean install install-arch install-indep :
196194 dh $@ --with python2 --parallel --builddirectory=$(QGIS_BUILDDIR )
197195
198- override_dh_auto_build-arch :
199- dh_auto_build
200-
201196override_dh_clean : cleantemplates
202197 dh_clean
203198
@@ -207,10 +202,12 @@ override_dh_clean: cleantemplates
207202
208203 -$(RM) -r $(CURDIR)/$(QGIS_BUILDDIR)/
209204
210- override_dh_auto_configure-arch : templates
205+ override_dh_auto_configure : templates
211206 dh_auto_configure -- $(CMAKE_OPTS )
212207
213- override_dh_auto_test-arch :
208+ override_dh_auto_test : test-stamp
209+
210+ test-stamp :
214211ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS ) ) )
215212 # Code to run the package test suite - and ignore the outcome for now
216213 mkdir -p debian/tmp/locale/
@@ -223,14 +220,9 @@ ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
223220else
224221 @echo Skipping tests.
225222endif
223+ touch test-stamp
226224
227- override_dh_auto_configure-indep : ;
228- override_dh_auto_test-indep : ;
229- override_dh_auto_install-indep : ;
230- override_dh_auto_build-indep : ;
231- override_dh_install-indep : ;
232-
233- override_dh_auto_install-arch :
225+ override_dh_auto_install :
234226 dh_auto_install
235227
236228 # Install menu pixmap
@@ -284,7 +276,7 @@ override_dh_auto_install-arch:
284276 install -o root -g root -m 755 $(CURDIR)/debian/qgis.sh $(CURDIR)/debian/qgis-plugin-grass/usr/bin/qgis
285277 install -o root -g root -m 755 $(CURDIR)/debian/qgis.sh $(CURDIR)/debian/qgis-plugin-grass/usr/bin/qbrowser
286278
287- override_dh_install-arch :
279+ override_dh_install :
288280 # Don't ship srs.db, automatically updated in postinst with crssync
289281 mv $(CURDIR ) /debian/tmp/usr/share/qgis/resources/srs.db $(CURDIR ) /debian/tmp/usr/share/qgis/resources/srs-template.db
290282
0 commit comments