tags 806078 + patch
thanks

The following patch should fix this bug.

Note: The patch also disables debhelper verbose mode (which is more
appropriate for debugging) and drops an extra -i option in a cp
command which was out of context (as it was not a dh_* command).

Thanks.
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,7 @@
 
 
 # Uncomment this to turn on verbose mode.
-export DH_VERBOSE=1
+# export DH_VERBOSE=1
 
 PACKAGE=mmass
 VERSION="4.0.0"
@@ -34,11 +34,7 @@ clean:
 
 ######################### build #########################
 build-arch-stamp: 
-       dh_testdir
        dh_prep -a
-
-       convert gui/images/gtk/icon_32.png debian/mmass.xpm
-
        # This will create the "calculations.so" shared object in
        # mspy/plot/build/lib.linux-i686-2.6. This shared object will
        # have to be installed as
@@ -49,8 +45,13 @@ build-arch-stamp:
 
        touch build-arch-stamp
 
+build-indep-stamp:
+       dh_prep -i
+       convert gui/images/gtk/icon_32.png debian/mmass.xpm
+       touch build-indep-stamp
+
 .PHONY: build-indep
-build-indep: 
+build-indep: build-indep-stamp
 
 .PHONY: build-arch
 build-arch: build-arch-stamp
@@ -88,7 +89,7 @@ binary-indep:
        dh_prep  -i
        dh_installdirs -i
        dh_lintian -i
-       cp debian/start-script $(INSTALLDIR)/usr/bin/mmass -i
+       cp debian/start-script $(INSTALLDIR)/usr/bin/mmass
        dh_installchangelogs  -i
        dh_installdocs -i
        dh_install -i

Reply via email to