trivial fix for PHP >= 5.3, thanks to Martin von Wittich
[iserv-mod-error-reporter.git] / debian / rules
index c8b5c3d..55b5eb3 100755 (executable)
@@ -6,42 +6,22 @@ build:
        dh_testdir
 
 binary-indep: 
-       -$(MAKE) clean
+       [ ! -f Makefile ] || $(MAKE) clean
        dh_clean
-
        dh_testdir
        dh_testroot
        dh_clean -k 
        dh_installdirs
        $(MAKE) DESTDIR=$(CURDIR)/debian/iserv-mod-error-reporter install
-
        # we rather install the documentation via dh_installdocs
        rm -rf $(CURDIR)/debian/iserv-mod-error-reporter/usr/share/doc/iserv-mod-error-reporter
        dh_testdir
        dh_testroot
        dh_installchangelogs 
        dh_installdocs doc/changelog.old.html doc/TODO doc/source/
-       #dh_installexamples
-       ##dh_install
-       ##dh_installmenu
-       ##dh_installdebconf     
-       ##dh_installlogrotate
-       ##dh_installemacsen
-       ##dh_installpam
-       ##dh_installmime
-       ##dh_python
-       #dh_installinit
-       #dh_installcron
-       #dh_installinfo
-       #dh_installman
-       #dh_link
-       #dh_strip
        dh_compress
        dh_fixperms
-       ##dh_perl
-       ##dh_makeshlibs
        dh_installdeb
-       #dh_shlibdeps
        dh_gencontrol
        dh_md5sums
        dh_builddeb
@@ -54,7 +34,7 @@ binary: binary-indep
 clean:
        dh_testdir
        dh_testroot
-       -$(MAKE) clean
+       [ ! -f Makefile ] || $(MAKE) clean
        dh_clean 
 
 .PHONY: build clean binary-indep binary install
This page took 0.024454 seconds and 4 git commands to generate.