iservchk script must be iconf'd or it gets deleted on every call; link in Makefile
[iserv-mod-error-reporter.git] / debian / rules
index 46f3010..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,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_installdocs doc/changelog.old.html doc/TODO doc/source/
        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.022465 seconds and 4 git commands to generate.