On Thu, Oct 29, 2015 at 9:40 PM, Eduardo Lima (Etrunko)
<etru...@redhat.com> wrote:
> Signed-off-by: Eduardo Lima (Etrunko) <etru...@redhat.com>
> ---
>  Makefile.am     | 5 +++++
>  git.mk          | 2 +-
>  m4/.gitignore   | 0
>  src/Makefile.am | 8 ++++++++
>  4 files changed, 14 insertions(+), 1 deletion(-)
>  delete mode 100644 m4/.gitignore
>
> diff --git a/Makefile.am b/Makefile.am
> index d0e9ab4..9646119 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -48,6 +48,11 @@ MAINTAINERCLEANFILES =                               \
>         $(srcdir)/m4/lt~obsolete.m4             \
>         $(NULL)
>
> +GITIGNOREFILES =                               \
> +       AUTHORS                                 \
> +       build-aux/test-driver                   \
> +       $(NULL)
> +
>  dist-hook: gen-ChangeLog gen-AUTHORS
>
>  # Generate the ChangeLog file (with all entries since the switch to git)
> diff --git a/git.mk b/git.mk
> index 0b26b23..277e6e3 100644
> --- a/git.mk
> +++ b/git.mk
> @@ -123,7 +123,7 @@ $(srcdir)/.gitignore: Makefile.am $(top_srcdir)/git.mk
>                                 $(gsettings__enum_file) \
>                         ; do echo /$$x; done; \
>                 fi; \
> -               if test -f $(srcdir)/po/Makefile.in.in; then \
> +               if test -f $(top_srcdir)/po/Makefile.in.in; then \

I didn't get why you had to change $(srcdir) to $(top_srcdir) here.


>                         for x in \
>                                 po/Makefile.in.in \
>                                 po/Makefile.in \
> diff --git a/m4/.gitignore b/m4/.gitignore
> deleted file mode 100644
> index e69de29..0000000
> diff --git a/src/Makefile.am b/src/Makefile.am
> index 1ebc24e..5ce08bc 100644
> --- a/src/Makefile.am
> +++ b/src/Makefile.am
> @@ -218,4 +218,12 @@ debug_helper_LDFLAGS = $(GLIB2_LIBS) 
> -Wl,--subsystem,windows
>  debug_helper_CFLAGS = $(GLIB2_CFLAGS)
>  endif
>
> +GITIGNOREFILES =       \
> +       view/.deps      \
> +       view/.dirstamp  \
> +       view/.libs      \
> +       view/*.lo       \
> +       view/*.o        \
> +       $(NULL)
> +
>  -include $(top_srcdir)/git.mk
> --
> 2.4.3
>
> _______________________________________________
> virt-tools-list mailing list
> virt-tools-list@redhat.com
> https://www.redhat.com/mailman/listinfo/virt-tools-list

Looks good, ack!

_______________________________________________
virt-tools-list mailing list
virt-tools-list@redhat.com
https://www.redhat.com/mailman/listinfo/virt-tools-list

Reply via email to