mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
ocaml: Conditionally remove bindtests.* when doing 'make install'.
Commitf6a790b67dchanged the Makefile so it only builds the tests when you run 'make check'. If you didn't run 'make check' then (in particular) bindtests won't be built, and so when you install it cannot be removed. The simple fix for this is to make the removal of bindtests.* conditional. This fixes commitf6a790b67d.
This commit is contained in:
@@ -201,7 +201,7 @@ install-data-hook:
|
||||
-ldconf ignore -destdir $(DESTDIR)$(OCAMLLIB) \
|
||||
guestfs \
|
||||
$(data_hook_files)
|
||||
rm $(DESTDIR)$(OCAMLLIB)/guestfs/bindtests.*
|
||||
rm -f $(DESTDIR)$(OCAMLLIB)/guestfs/bindtests.*
|
||||
rm $(DESTDIR)$(OCAMLLIB)/guestfs/libguestfsocaml.a
|
||||
|
||||
CLEANFILES += $(noinst_DATA) $(check_DATA)
|
||||
|
||||
Reference in New Issue
Block a user