@@ -190,14 +190,9 @@ cleantemplates:
190
190
$(MAKE ) -f debian/rules templateclean
191
191
$(MAKE ) -f debian/rules debian/control debian/compat
192
192
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 :
196
194
dh $@ --with python2 --parallel --builddirectory=$(QGIS_BUILDDIR )
197
195
198
- override_dh_auto_build-arch :
199
- dh_auto_build
200
-
201
196
override_dh_clean : cleantemplates
202
197
dh_clean
203
198
@@ -207,10 +202,12 @@ override_dh_clean: cleantemplates
207
202
208
203
-$(RM) -r $(CURDIR)/$(QGIS_BUILDDIR)/
209
204
210
- override_dh_auto_configure-arch : templates
205
+ override_dh_auto_configure : templates
211
206
dh_auto_configure -- $(CMAKE_OPTS )
212
207
213
- override_dh_auto_test-arch :
208
+ override_dh_auto_test : test-stamp
209
+
210
+ test-stamp :
214
211
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS ) ) )
215
212
# Code to run the package test suite - and ignore the outcome for now
216
213
mkdir -p debian/tmp/locale/
@@ -223,14 +220,9 @@ ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
223
220
else
224
221
@echo Skipping tests.
225
222
endif
223
+ touch test-stamp
226
224
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 :
234
226
dh_auto_install
235
227
236
228
# Install menu pixmap
@@ -284,7 +276,7 @@ override_dh_auto_install-arch:
284
276
install -o root -g root -m 755 $(CURDIR)/debian/qgis.sh $(CURDIR)/debian/qgis-plugin-grass/usr/bin/qgis
285
277
install -o root -g root -m 755 $(CURDIR)/debian/qgis.sh $(CURDIR)/debian/qgis-plugin-grass/usr/bin/qbrowser
286
278
287
- override_dh_install-arch :
279
+ override_dh_install :
288
280
# Don't ship srs.db, automatically updated in postinst with crssync
289
281
mv $(CURDIR ) /debian/tmp/usr/share/qgis/resources/srs.db $(CURDIR ) /debian/tmp/usr/share/qgis/resources/srs-template.db
290
282
0 commit comments