[Pkg-libvirt-maintainers] Bug#715363: fixup of debian/rules for kfreebsd-*

Petr Salinger Petr.Salinger at seznam.cz
Wed Jul 31 19:52:44 UTC 2013


Hi.

Please move fixup just before dh_install.

With this change, it seems to build fine now,
as #715320 is fixed.

BTW, why is not
"WITH_POLKIT         = --with-polkit" everywhere ?


Petr


--- debian/rules
+++ debian/rules
@@ -115,6 +115,11 @@
           dh_auto_test -O--builddirectory=$(DEB_BUILDDIR)

  override_dh_install:
+       # Add empty dirs so dh_install doesn't fail on kFreebsd until we have
+       # Polkit/Systemd support
+       mkdir -p debian/tmp/usr/share/polkit-1 \
+                debian/tmp/lib/systemd/system \
+                debian/tmp/usr/share/systemtap
         dh_install
         # Copy upstream files to debian/ so dh_* can find them
         cp debian/tmp/usr/lib/libvirt/libvirt-guests.sh \
@@ -154,11 +159,6 @@
  override_dh_auto_build:
         dh_auto_build -a -i
         DEB_BUILDDIR=$(DEB_BUILDDIR) make -f debian/python.mk build
-       # Add empty dirs so dh_install doesn't fail on kFreebsd until we have
-       # Polkit/Systemd support
-       mkdir -p debian/tmp/usr/share/polkit-1 \
-                debian/tmp/lib/systemd/system \
-                debian/tmp/usr/share/systemtap

  override_dh_auto_clean:
         [ ! -f Makefile ] || dh_auto_clean



More information about the Pkg-libvirt-maintainers mailing list