[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Libguestfs] [PATCH] build: Fix automake warnings



---
 perl/Makefile.am     |    4 ++--
 resize/Makefile.am   |    8 +++++---
 sparsify/Makefile.am |    8 +++++---
 3 files changed, 12 insertions(+), 8 deletions(-)

diff --git a/perl/Makefile.am b/perl/Makefile.am
index eff0059..5e29bbd 100644
--- a/perl/Makefile.am
+++ b/perl/Makefile.am
@@ -40,11 +40,9 @@ if HAVE_PERL
 # a nightmare, news at 11.
 
 # src/ dependencies
-.PHONY: src_deps
 src_deps: $(top_builddir)/src/libguestfs.la $(generator_built)
 
 # Images used by tests
-.PHONY: test_images
 test_images:
 	$(MAKE) -C $(top_builddir)/images
 
@@ -76,3 +74,5 @@ install-data-hook:
 	$(MAKE) -f Makefile-pl DESTDIR=$(DESTDIR) install
 
 endif
+
+.PHONY: src_deps test_images
diff --git a/resize/Makefile.am b/resize/Makefile.am
index 5046a8c..3f33118 100644
--- a/resize/Makefile.am
+++ b/resize/Makefile.am
@@ -17,6 +17,8 @@
 
 include $(top_srcdir)/subdir-rules.mk
 
+SOURCES =
+
 EXTRA_DIST = \
 	$(SOURCES) \
 	virt-resize.pod \
@@ -27,7 +29,7 @@ CLEANFILES = *~ *.cmi *.cmo *.cmx *.cmxa *.o virt-resize test.img
 if HAVE_OCAML
 
 # Alphabetical order.
-SOURCES = \
+SOURCES += \
 	progress_c.c \
 	progress.mli \
 	progress.ml \
@@ -120,10 +122,10 @@ depend: .depend
 
 include .depend
 
-.PHONY: depend docs
-
 endif
 
+.PHONY: depend docs
+
 # Parallel builds don't obey dependencies for some reason we
 # don't understand.
 .NOTPARALLEL:
diff --git a/sparsify/Makefile.am b/sparsify/Makefile.am
index 973bcb5..9d5e076 100644
--- a/sparsify/Makefile.am
+++ b/sparsify/Makefile.am
@@ -17,6 +17,8 @@
 
 include $(top_srcdir)/subdir-rules.mk
 
+SOURCES =
+
 EXTRA_DIST = \
 	$(SOURCES) \
 	virt-sparsify.pod \
@@ -27,7 +29,7 @@ CLEANFILES = *~ *.cmi *.cmo *.cmx *.cmxa *.o virt-sparsify test.img
 if HAVE_OCAML
 
 # Alphabetical order.
-SOURCES = \
+SOURCES += \
 	progress_c.c \
 	progress.mli \
 	progress.ml \
@@ -113,10 +115,10 @@ depend: .depend
 
 include .depend
 
-.PHONY: depend docs
-
 endif
 
+.PHONY: depend docs
+
 # Parallel builds don't obey dependencies for some reason we
 # don't understand.
 .NOTPARALLEL:
-- 
1.7.7.5


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]