Skip to content
Snippets Groups Projects
Verified Commit c1be36ae authored by Christian Ehrhardt's avatar Christian Ehrhardt
Browse files

d/rules: drop doc binary cleanup


The new doc build does not trigger the old problem.
Remove the cleanup:
While being still built for example:
./build/examples/c/domain/suspend.o
./build/examples/c/domain/suspend
They are no more ending up in the docs:
$ find libvirt-doc/usr/share/doc/libvirt-doc/examples/ -name "*suspend*"
libvirt-doc/usr/share/doc/libvirt-doc/examples/c/domain/suspend.c

Same for the other file (types) that we cleaned.

Signed-off-by: default avatarChristian Ehrhardt <christian.ehrhardt@canonical.com>
parent 22785987
No related branches found
No related tags found
1 merge request!39Libvirt 6.0 fo debian 2
......@@ -150,7 +150,6 @@ LIBVIRT_SYSTEM_SERVICES = \
DEB_BUILDDIR := $(CURDIR)/debian/build
LOGROTATE = $(basename $(basename $(notdir $(wildcard src/remote/libvirtd*.logrotate.in))))
EXAMPLES_DIR = $(CURDIR)/debian/libvirt-doc/usr/share/doc/libvirt-doc/examples/
%:
dh $@ --builddirectory=$(DEB_BUILDDIR)
......@@ -236,14 +235,6 @@ override_dh_installsystemd:
override_dh_installdocs:
dh_installdocs -plibvirt-doc --doc-main-package libvirt-doc
dh_installdocs -Nlibvirt-doc
# Remove binaries and object files examples
[ ! -d $(EXAMPLES_DIR) ] || find $(EXAMPLES_DIR) -name "*.o" -type f -delete -o -name .libs -type d -exec rm -rf {} \;
rm -f $(EXAMPLES_DIR)domain-events/events-c/event-test \
$(EXAMPLES_DIR)dominfo/info1 \
$(EXAMPLES_DIR)domsuspend/suspend \
$(EXAMPLES_DIR)hellolibvirt/hellolibvirt \
$(EXAMPLES_DIR)apparmor/* \
$(NULL)
override_dh_auto_clean:
[ ! -f Makefile ] || dh_auto_clean
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment