Commit
211b05b5 "debian: Modernize use of dh_install" caused build failures
in clean environments because debian/ovsdbmonitor.install now installed
files that were never created in such an environment. It didn't cause a
build failure in my own testing because I still had old files around.
This fixes the problem.
It seems to be necessary to run "make install" once for each of binary-arch
and binary-indep, because dh_prep always deletes debian/tmp. It is
logically not necessary but I don't see a clean and robust way to avoid it.
-debian/openvswitch/usr/bin/ovsdbmonitor usr/bin
-debian/openvswitch/usr/share/openvswitch usr/share
+usr/bin/ovsdbmonitor
+usr/share/openvswitch
dh_testroot
dh_prep -i
dh_installdirs -i
+ $(MAKE) -C _debian DESTDIR=$(CURDIR)/debian/tmp install
dh_install -i
sed 's/^BUILD_NUMBER = .*/BUILD_NUMBER = $(BUILD_NUMBER)/' \
< debian/rules.modules \