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

Re: [Libguestfs] [PATCH] build: Remove .depend from git



On Wed, Jan 11, 2012 at 11:35:51AM +0000, Matthew Booth wrote:
> Remove generated file from source control, and don't barf when it doesn't exist
> while bootstrapping.
> ---
>  generator/.depend     |  158 -------------------------------------------------
>  generator/Makefile.am |    2 +-
>  2 files changed, 1 insertions(+), 159 deletions(-)
>  delete mode 100644 generator/.depend
> 
> diff --git a/generator/.depend b/generator/.depend
> deleted file mode 100644
> index acbce64..0000000
> --- a/generator/.depend
> +++ /dev/null
> @@ -1,158 +0,0 @@
> -generator_types.cmo:
> -generator_types.cmx:
> -generator_utils.cmi: generator_types.cmo
> -generator_utils.cmo: generator_types.cmo generator_utils.cmi
> -generator_utils.cmx: generator_types.cmx generator_utils.cmi
> -generator_actions.cmi: generator_types.cmo
> -generator_actions.cmo: generator_utils.cmi generator_types.cmo \
> -    generator_actions.cmi
> -generator_actions.cmx: generator_utils.cmx generator_types.cmx \
> -    generator_actions.cmi
> -generator_structs.cmi: generator_types.cmo
> -generator_structs.cmo: generator_utils.cmi generator_types.cmo \
> -    generator_structs.cmi
> -generator_structs.cmx: generator_utils.cmx generator_types.cmx \
> -    generator_structs.cmi
> -generator_api_versions.cmi:
> -generator_api_versions.cmo: generator_utils.cmi generator_api_versions.cmi
> -generator_api_versions.cmx: generator_utils.cmx generator_api_versions.cmi
> -generator_optgroups.cmo: generator_types.cmo generator_actions.cmi
> -generator_optgroups.cmx: generator_types.cmx generator_actions.cmx
> -generator_prepopts.cmi:
> -generator_prepopts.cmo: generator_prepopts.cmi
> -generator_prepopts.cmx: generator_prepopts.cmi
> -generator_events.cmo: generator_utils.cmi
> -generator_events.cmx: generator_utils.cmx
> -generator_pr.cmi:
> -generator_pr.cmo: generator_utils.cmi generator_pr.cmi
> -generator_pr.cmx: generator_utils.cmx generator_pr.cmi
> -generator_docstrings.cmo: generator_utils.cmi generator_types.cmo \
> -    generator_pr.cmi
> -generator_docstrings.cmx: generator_utils.cmx generator_types.cmx \
> -    generator_pr.cmx
> -generator_checks.cmo: generator_utils.cmi generator_types.cmo \
> -    generator_actions.cmi
> -generator_checks.cmx: generator_utils.cmx generator_types.cmx \
> -    generator_actions.cmx
> -generator_c.cmo: generator_utils.cmi generator_types.cmo \
> -    generator_structs.cmi generator_pr.cmi generator_optgroups.cmo \
> -    generator_events.cmo generator_docstrings.cmo generator_api_versions.cmi \
> -    generator_actions.cmi
> -generator_c.cmx: generator_utils.cmx generator_types.cmx \
> -    generator_structs.cmx generator_pr.cmx generator_optgroups.cmx \
> -    generator_events.cmx generator_docstrings.cmx generator_api_versions.cmx \
> -    generator_actions.cmx
> -generator_xdr.cmo: generator_utils.cmi generator_types.cmo \
> -    generator_structs.cmi generator_pr.cmi generator_optgroups.cmo \
> -    generator_docstrings.cmo generator_actions.cmi
> -generator_xdr.cmx: generator_utils.cmx generator_types.cmx \
> -    generator_structs.cmx generator_pr.cmx generator_optgroups.cmx \
> -    generator_docstrings.cmx generator_actions.cmx
> -generator_daemon.cmo: generator_utils.cmi generator_types.cmo \
> -    generator_structs.cmi generator_pr.cmi generator_optgroups.cmo \
> -    generator_docstrings.cmo generator_c.cmo generator_actions.cmi
> -generator_daemon.cmx: generator_utils.cmx generator_types.cmx \
> -    generator_structs.cmx generator_pr.cmx generator_optgroups.cmx \
> -    generator_docstrings.cmx generator_c.cmx generator_actions.cmx
> -generator_tests_c_api.cmo: generator_utils.cmi generator_types.cmo \
> -    generator_structs.cmi generator_pr.cmi generator_optgroups.cmo \
> -    generator_docstrings.cmo generator_actions.cmi
> -generator_tests_c_api.cmx: generator_utils.cmx generator_types.cmx \
> -    generator_structs.cmx generator_pr.cmx generator_optgroups.cmx \
> -    generator_docstrings.cmx generator_actions.cmx
> -generator_fish.cmo: generator_utils.cmi generator_types.cmo \
> -    generator_structs.cmi generator_prepopts.cmi generator_pr.cmi \
> -    generator_optgroups.cmo generator_events.cmo generator_docstrings.cmo \
> -    generator_c.cmo generator_actions.cmi
> -generator_fish.cmx: generator_utils.cmx generator_types.cmx \
> -    generator_structs.cmx generator_prepopts.cmx generator_pr.cmx \
> -    generator_optgroups.cmx generator_events.cmx generator_docstrings.cmx \
> -    generator_c.cmx generator_actions.cmx
> -generator_ocaml.cmo: generator_utils.cmi generator_types.cmo \
> -    generator_structs.cmi generator_pr.cmi generator_optgroups.cmo \
> -    generator_events.cmo generator_docstrings.cmo generator_c.cmo \
> -    generator_actions.cmi
> -generator_ocaml.cmx: generator_utils.cmx generator_types.cmx \
> -    generator_structs.cmx generator_pr.cmx generator_optgroups.cmx \
> -    generator_events.cmx generator_docstrings.cmx generator_c.cmx \
> -    generator_actions.cmx
> -generator_perl.cmo: generator_utils.cmi generator_types.cmo \
> -    generator_structs.cmi generator_pr.cmi generator_optgroups.cmo \
> -    generator_events.cmo generator_docstrings.cmo generator_c.cmo \
> -    generator_actions.cmi
> -generator_perl.cmx: generator_utils.cmx generator_types.cmx \
> -    generator_structs.cmx generator_pr.cmx generator_optgroups.cmx \
> -    generator_events.cmx generator_docstrings.cmx generator_c.cmx \
> -    generator_actions.cmx
> -generator_python.cmo: generator_utils.cmi generator_types.cmo \
> -    generator_structs.cmi generator_pr.cmi generator_optgroups.cmo \
> -    generator_events.cmo generator_docstrings.cmo generator_c.cmo \
> -    generator_actions.cmi
> -generator_python.cmx: generator_utils.cmx generator_types.cmx \
> -    generator_structs.cmx generator_pr.cmx generator_optgroups.cmx \
> -    generator_events.cmx generator_docstrings.cmx generator_c.cmx \
> -    generator_actions.cmx
> -generator_ruby.cmo: generator_utils.cmi generator_types.cmo \
> -    generator_structs.cmi generator_pr.cmi generator_optgroups.cmo \
> -    generator_events.cmo generator_docstrings.cmo generator_c.cmo \
> -    generator_actions.cmi
> -generator_ruby.cmx: generator_utils.cmx generator_types.cmx \
> -    generator_structs.cmx generator_pr.cmx generator_optgroups.cmx \
> -    generator_events.cmx generator_docstrings.cmx generator_c.cmx \
> -    generator_actions.cmx
> -generator_java.cmo: generator_utils.cmi generator_types.cmo \
> -    generator_structs.cmi generator_pr.cmi generator_optgroups.cmo \
> -    generator_docstrings.cmo generator_c.cmo generator_actions.cmi
> -generator_java.cmx: generator_utils.cmx generator_types.cmx \
> -    generator_structs.cmx generator_pr.cmx generator_optgroups.cmx \
> -    generator_docstrings.cmx generator_c.cmx generator_actions.cmx
> -generator_haskell.cmo: generator_utils.cmi generator_types.cmo \
> -    generator_structs.cmi generator_pr.cmi generator_optgroups.cmo \
> -    generator_docstrings.cmo generator_actions.cmi
> -generator_haskell.cmx: generator_utils.cmx generator_types.cmx \
> -    generator_structs.cmx generator_pr.cmx generator_optgroups.cmx \
> -    generator_docstrings.cmx generator_actions.cmx
> -generator_csharp.cmo: generator_utils.cmi generator_types.cmo \
> -    generator_structs.cmi generator_pr.cmi generator_optgroups.cmo \
> -    generator_docstrings.cmo generator_actions.cmi
> -generator_csharp.cmx: generator_utils.cmx generator_types.cmx \
> -    generator_structs.cmx generator_pr.cmx generator_optgroups.cmx \
> -    generator_docstrings.cmx generator_actions.cmx
> -generator_php.cmo: generator_utils.cmi generator_types.cmo \
> -    generator_structs.cmi generator_pr.cmi generator_optgroups.cmo \
> -    generator_docstrings.cmo generator_c.cmo generator_actions.cmi
> -generator_php.cmx: generator_utils.cmx generator_types.cmx \
> -    generator_structs.cmx generator_pr.cmx generator_optgroups.cmx \
> -    generator_docstrings.cmx generator_c.cmx generator_actions.cmx
> -generator_erlang.cmo: generator_utils.cmi generator_types.cmo \
> -    generator_structs.cmi generator_pr.cmi generator_optgroups.cmo \
> -    generator_events.cmo generator_docstrings.cmo generator_c.cmo \
> -    generator_actions.cmi
> -generator_erlang.cmx: generator_utils.cmx generator_types.cmx \
> -    generator_structs.cmx generator_pr.cmx generator_optgroups.cmx \
> -    generator_events.cmx generator_docstrings.cmx generator_c.cmx \
> -    generator_actions.cmx
> -generator_bindtests.cmo: generator_utils.cmi generator_types.cmo \
> -    generator_structs.cmi generator_pr.cmi generator_optgroups.cmo \
> -    generator_docstrings.cmo generator_c.cmo generator_actions.cmi
> -generator_bindtests.cmx: generator_utils.cmx generator_types.cmx \
> -    generator_structs.cmx generator_pr.cmx generator_optgroups.cmx \
> -    generator_docstrings.cmx generator_c.cmx generator_actions.cmx
> -generator_errnostring.cmo: generator_utils.cmi generator_types.cmo \
> -    generator_pr.cmi generator_docstrings.cmo
> -generator_errnostring.cmx: generator_utils.cmx generator_types.cmx \
> -    generator_pr.cmx generator_docstrings.cmx
> -generator_main.cmo: generator_xdr.cmo generator_tests_c_api.cmo \
> -    generator_structs.cmi generator_ruby.cmo generator_python.cmo \
> -    generator_pr.cmi generator_php.cmo generator_perl.cmo generator_ocaml.cmo \
> -    generator_java.cmo generator_haskell.cmo generator_fish.cmo \
> -    generator_errnostring.cmo generator_erlang.cmo generator_daemon.cmo \
> -    generator_csharp.cmo generator_c.cmo generator_bindtests.cmo \
> -    generator_api_versions.cmi
> -generator_main.cmx: generator_xdr.cmx generator_tests_c_api.cmx \
> -    generator_structs.cmx generator_ruby.cmx generator_python.cmx \
> -    generator_pr.cmx generator_php.cmx generator_perl.cmx generator_ocaml.cmx \
> -    generator_java.cmx generator_haskell.cmx generator_fish.cmx \
> -    generator_errnostring.cmx generator_erlang.cmx generator_daemon.cmx \
> -    generator_csharp.cmx generator_c.cmx generator_bindtests.cmx \
> -    generator_api_versions.cmx
> diff --git a/generator/Makefile.am b/generator/Makefile.am
> index dfa5893..b01cf35 100644
> --- a/generator/Makefile.am
> +++ b/generator/Makefile.am
> @@ -79,7 +79,7 @@ depend: .depend
>  	$(OCAMLDEP) $^ | sed 's/  *$$//' > $ -t
>  	mv $ -t $@
>  
> -include .depend
> +-include .depend
>  
>  else

ACK.

Should we do this in other places too, eg. ocaml/.depend

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
http://et.redhat.com/~rjones/virt-p2v


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