Code

Remove generated manpages in the clean target.
[pkg-collectd.git] / debian / rules
index 48ba0753f6ecca6150b519d02f4e6cecdf216b84..06c5436ff1893822f0b2d6a3f031cf5f7a6471eb 100755 (executable)
@@ -51,14 +51,8 @@ ifeq (,$(findstring $(DEB_BUILD_ARCH),amd64 i386 powerpc))
        confflags += --disable-libvirt
 endif
 
-# Force the inclusion of the ipmi plugin and manually specify its
-# dependencies to work around #474087 (broken openipmi .pc files).
-BUILD_WITH_OPENIPMI_LIBS = -lOpenIPMIpthread
-confflags += --enable-ipmi
-
 config.status: configure $(DPATCH_STAMPFN)
        dh_testdir
-       BUILD_WITH_OPENIPMI_LIBS="$(BUILD_WITH_OPENIPMI_LIBS)" \
        CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" ./configure $(confflags)
 
 build: build-stamp
@@ -79,6 +73,7 @@ clean: unpatch
        [ ! -f Makefile ] || $(MAKE) distclean
        
        rm -f debian/README.Debian.plugins
+       rm -f src/*.1 src/*.5
        
        dh_clean 
        debconf-updatepo