[Libguestfs] [PATCH v2 2/6] common/mlstdutils: Remove unused Libdir module.

Richard W.M. Jones rjones at redhat.com
Wed Sep 20 16:55:15 UTC 2017


Last used in commit fd63d896445260ce83f88e58c0219606f97dca9e (in 2013).
---
 .gitignore                    | 1 -
 common/mlstdutils/Makefile.am | 8 --------
 2 files changed, 9 deletions(-)

diff --git a/.gitignore b/.gitignore
index 302aa2d81..3aca17f67 100644
--- a/.gitignore
+++ b/.gitignore
@@ -130,7 +130,6 @@ Makefile.in
 /common/mlstdutils/.depend
 /common/mlstdutils/bytes.ml
 /common/mlstdutils/guestfs_config.ml
-/common/mlstdutils/libdir.ml
 /common/mlstdutils/oUnit-*
 /common/mlstdutils/std_utils_tests
 /common/mlutils/.depend
diff --git a/common/mlstdutils/Makefile.am b/common/mlstdutils/Makefile.am
index 5208e491f..2376ac6a6 100644
--- a/common/mlstdutils/Makefile.am
+++ b/common/mlstdutils/Makefile.am
@@ -35,7 +35,6 @@ endif
 
 SOURCES_ML += \
 	guestfs_config.ml \
-	libdir.ml \
 	stringMap.ml \
 	stringSet.ml \
 	std_utils.ml
@@ -97,13 +96,6 @@ mlstdutils.cmxa: $(XOBJECTS)
 	$(OCAMLFIND) ocamlopt $(OCAMLPACKAGES) -a $^ -o $@
 endif
 
-# This OCaml module has to be generated by make (configure will put
-# unexpanded prefix macro in).
-
-libdir.ml: Makefile
-	echo 'let libdir = "$(libdir)"' > $@-t
-	mv $@-t $@
-
 # Tests.
 
 std_utils_tests_SOURCES = dummy.c
-- 
2.13.2




More information about the Libguestfs mailing list