From: Matthew Booth Date: Wed, 4 Jan 2012 09:56:16 +0000 (+0000) Subject: build: Fix automake warnings X-Git-Tag: 1.15.15~4 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=c655415dc051b84d6178399e5f7cb76ff7af06c0;p=libguestfs.git build: Fix automake warnings --- diff --git a/perl/Makefile.am b/perl/Makefile.am index e924cb1..5ee6c49 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)/tests/data @@ -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: