Re: [ovs-dev] [PATCH v2] Remove manpages.mk from git

2020-09-16 Thread Ilya Maximets
On 9/3/20 7:29 PM, Flavio Leitner wrote:
> On Thu, Sep 03, 2020 at 02:12:54PM -0300, Flavio Leitner wrote:
>> On Thu, Sep 03, 2020 at 04:55:43PM +0200, Timothy Redaelli wrote:
>>> manpages.mk is generated at build-time using sodepends.py and so there is no
>>> need to keep it in git.
>>>
>>> Signed-off-by: Timothy Redaelli 
>>> ---
>>> v2:
>>> generate manpages.mk in builddir instead of srcdir and add it to
>>> CLEANFILES to make "make distcleancheck" happy.
>>> Thank you Ilya and travis for reporting.
>>> ---
>>
>> ^^^ This extra '---' breaks git am, otherwise 
> 
> Scratch that. Git works okay.
>  
> Acked-by: Flavio Leitner 

Thanks!

Applied to master.

Best regards, Ilya Maximets.
___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev


Re: [ovs-dev] [PATCH v2] Remove manpages.mk from git

2020-09-03 Thread Flavio Leitner
On Thu, Sep 03, 2020 at 02:12:54PM -0300, Flavio Leitner wrote:
> On Thu, Sep 03, 2020 at 04:55:43PM +0200, Timothy Redaelli wrote:
> > manpages.mk is generated at build-time using sodepends.py and so there is no
> > need to keep it in git.
> > 
> > Signed-off-by: Timothy Redaelli 
> > ---
> > v2:
> > generate manpages.mk in builddir instead of srcdir and add it to
> > CLEANFILES to make "make distcleancheck" happy.
> > Thank you Ilya and travis for reporting.
> > ---
> 
> ^^^ This extra '---' breaks git am, otherwise 

Scratch that. Git works okay.
 
Acked-by: Flavio Leitner 

Thanks
fbl
 
> 
> >  .gitignore  |   1 +
> >  Makefile.am |   5 +-
> >  manpages.mk | 266 
> >  3 files changed, 4 insertions(+), 268 deletions(-)
> >  delete mode 100644 manpages.mk
> > 
> > diff --git a/.gitignore b/.gitignore
> > index 2ac9cdac7..f1cdcf124 100644
> > --- a/.gitignore
> > +++ b/.gitignore
> > @@ -55,6 +55,7 @@
> >  /docs-check
> >  /install-sh
> >  /libtool
> > +/manpages.mk
> >  /manpage-check
> >  /missing
> >  /missing-distfiles
> > diff --git a/Makefile.am b/Makefile.am
> > index 27ef9e4b4..6981b943e 100644
> > --- a/Makefile.am
> > +++ b/Makefile.am
> > @@ -412,8 +412,8 @@ flake8-check: $(FLAKE8_PYFILES)
> >  endif
> >  CLEANFILES += flake8-check
> >  
> > -include $(srcdir)/manpages.mk
> > -$(srcdir)/manpages.mk: $(MAN_ROOTS) build-aux/sodepends.py 
> > python/build/soutil.py
> > +-include manpages.mk
> > +manpages.mk: $(MAN_ROOTS) build-aux/sodepends.py python/build/soutil.py
> > @PYTHONPATH=$$PYTHONPATH$(psep)$(srcdir)/python $(PYTHON3) 
> > $(srcdir)/build-aux/sodepends.py -I. -I$(srcdir) $(MAN_ROOTS) >$(@F).tmp
> > @if cmp -s $(@F).tmp $@; then \
> >   touch $@; \
> > @@ -421,6 +421,7 @@ $(srcdir)/manpages.mk: $(MAN_ROOTS) 
> > build-aux/sodepends.py python/build/soutil.p
> > else \
> >   mv $(@F).tmp $@; \
> > fi
> > +CLEANFILES += manpages.mk
> >  CLEANFILES += manpage-dep-check
> >  
> >  if VSTUDIO_DDK
> > diff --git a/manpages.mk b/manpages.mk
> > deleted file mode 100644
> > index dc201484c..0
> > --- a/manpages.mk
> > +++ /dev/null
> > @@ -1,266 +0,0 @@
> > -# Generated automatically -- do not modify!-*- buffer-read-only: t -*-
> > -
> > -ovsdb/ovsdb-client.1: \
> > -   ovsdb/ovsdb-client.1.in \
> > -   lib/common-syn.man \
> > -   lib/common.man \
> > -   lib/daemon-syn.man \
> > -   lib/daemon.man \
> > -   lib/ovs.tmac \
> > -   lib/ssl-bootstrap-syn.man \
> > -   lib/ssl-bootstrap.man \
> > -   lib/ssl-connect-syn.man \
> > -   lib/ssl-connect.man \
> > -   lib/ssl-syn.man \
> > -   lib/ssl.man \
> > -   lib/table.man \
> > -   lib/vlog-syn.man \
> > -   lib/vlog.man \
> > -   ovsdb/ovsdb-schemas.man
> > -ovsdb/ovsdb-client.1.in:
> > -lib/common-syn.man:
> > -lib/common.man:
> > -lib/daemon-syn.man:
> > -lib/daemon.man:
> > -lib/ovs.tmac:
> > -lib/ssl-bootstrap-syn.man:
> > -lib/ssl-bootstrap.man:
> > -lib/ssl-connect-syn.man:
> > -lib/ssl-connect.man:
> > -lib/ssl-syn.man:
> > -lib/ssl.man:
> > -lib/table.man:
> > -lib/vlog-syn.man:
> > -lib/vlog.man:
> > -ovsdb/ovsdb-schemas.man:
> > -
> > -ovsdb/ovsdb-server.1: \
> > -   ovsdb/ovsdb-server.1.in \
> > -   lib/common-syn.man \
> > -   lib/common.man \
> > -   lib/coverage-unixctl.man \
> > -   lib/daemon-syn.man \
> > -   lib/daemon.man \
> > -   lib/memory-unixctl.man \
> > -   lib/ovs.tmac \
> > -   lib/service-syn.man \
> > -   lib/service.man \
> > -   lib/ssl-bootstrap-syn.man \
> > -   lib/ssl-bootstrap.man \
> > -   lib/ssl-connect-syn.man \
> > -   lib/ssl-connect.man \
> > -   lib/ssl-peer-ca-cert-syn.man \
> > -   lib/ssl-peer-ca-cert.man \
> > -   lib/ssl-syn.man \
> > -   lib/ssl.man \
> > -   lib/unixctl-syn.man \
> > -   lib/unixctl.man \
> > -   lib/vlog-syn.man \
> > -   lib/vlog-unixctl.man \
> > -   lib/vlog.man
> > -ovsdb/ovsdb-server.1.in:
> > -lib/common-syn.man:
> > -lib/common.man:
> > -lib/coverage-unixctl.man:
> > -lib/daemon-syn.man:
> > -lib/daemon.man:
> > -lib/memory-unixctl.man:
> > -lib/ovs.tmac:
> > -lib/service-syn.man:
> > -lib/service.man:
> > -lib/ssl-bootstrap-syn.man:
> > -lib/ssl-bootstrap.man:
> > -lib/ssl-connect-syn.man:
> > -lib/ssl-connect.man:
> > -lib/ssl-peer-ca-cert-syn.man:
> > -lib/ssl-peer-ca-cert.man:
> > -lib/ssl-syn.man:
> > -lib/ssl.man:
> > -lib/unixctl-syn.man:
> > -lib/unixctl.man:
> > -lib/vlog-syn.man:
> > -lib/vlog-unixctl.man:
> > -lib/vlog.man:
> > -
> > -ovsdb/ovsdb-tool.1: \
> > -   ovsdb/ovsdb-tool.1.in \
> > -   lib/common-syn.man \
> > -   lib/common.man \
> > -   lib/ovs.tmac \
> > -   lib/vlog-syn.man \
> > -   lib/vlog.man \
> > -   ovsdb/ovsdb-schemas.man
> > -ovsdb/ovsdb-tool.1.in:
> > -lib/common-syn.man:
> > -lib/common.man:
> > -lib/ovs.tmac:
> > -lib/vlog-syn.man:
> > -lib/vlog.man:
> > -ovsdb/ovsdb-schemas.man:
> > -
> > -utilities/bugtool/ovs-bugtool.8: \
> > -   utilities/bugtool/ovs-bugtool.8.in \
> > -   lib/ovs.tmac
> > -utilities/bugtool/ovs-bugtool.8.in:
> > 

Re: [ovs-dev] [PATCH v2] Remove manpages.mk from git

2020-09-03 Thread Flavio Leitner
On Thu, Sep 03, 2020 at 04:55:43PM +0200, Timothy Redaelli wrote:
> manpages.mk is generated at build-time using sodepends.py and so there is no
> need to keep it in git.
> 
> Signed-off-by: Timothy Redaelli 
> ---
> v2:
> generate manpages.mk in builddir instead of srcdir and add it to
> CLEANFILES to make "make distcleancheck" happy.
> Thank you Ilya and travis for reporting.
> ---

^^^ This extra '---' breaks git am, otherwise 

Acked-by: Flavio Leitner 


>  .gitignore  |   1 +
>  Makefile.am |   5 +-
>  manpages.mk | 266 
>  3 files changed, 4 insertions(+), 268 deletions(-)
>  delete mode 100644 manpages.mk
> 
> diff --git a/.gitignore b/.gitignore
> index 2ac9cdac7..f1cdcf124 100644
> --- a/.gitignore
> +++ b/.gitignore
> @@ -55,6 +55,7 @@
>  /docs-check
>  /install-sh
>  /libtool
> +/manpages.mk
>  /manpage-check
>  /missing
>  /missing-distfiles
> diff --git a/Makefile.am b/Makefile.am
> index 27ef9e4b4..6981b943e 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -412,8 +412,8 @@ flake8-check: $(FLAKE8_PYFILES)
>  endif
>  CLEANFILES += flake8-check
>  
> -include $(srcdir)/manpages.mk
> -$(srcdir)/manpages.mk: $(MAN_ROOTS) build-aux/sodepends.py 
> python/build/soutil.py
> +-include manpages.mk
> +manpages.mk: $(MAN_ROOTS) build-aux/sodepends.py python/build/soutil.py
>   @PYTHONPATH=$$PYTHONPATH$(psep)$(srcdir)/python $(PYTHON3) 
> $(srcdir)/build-aux/sodepends.py -I. -I$(srcdir) $(MAN_ROOTS) >$(@F).tmp
>   @if cmp -s $(@F).tmp $@; then \
> touch $@; \
> @@ -421,6 +421,7 @@ $(srcdir)/manpages.mk: $(MAN_ROOTS) 
> build-aux/sodepends.py python/build/soutil.p
>   else \
> mv $(@F).tmp $@; \
>   fi
> +CLEANFILES += manpages.mk
>  CLEANFILES += manpage-dep-check
>  
>  if VSTUDIO_DDK
> diff --git a/manpages.mk b/manpages.mk
> deleted file mode 100644
> index dc201484c..0
> --- a/manpages.mk
> +++ /dev/null
> @@ -1,266 +0,0 @@
> -# Generated automatically -- do not modify!-*- buffer-read-only: t -*-
> -
> -ovsdb/ovsdb-client.1: \
> - ovsdb/ovsdb-client.1.in \
> - lib/common-syn.man \
> - lib/common.man \
> - lib/daemon-syn.man \
> - lib/daemon.man \
> - lib/ovs.tmac \
> - lib/ssl-bootstrap-syn.man \
> - lib/ssl-bootstrap.man \
> - lib/ssl-connect-syn.man \
> - lib/ssl-connect.man \
> - lib/ssl-syn.man \
> - lib/ssl.man \
> - lib/table.man \
> - lib/vlog-syn.man \
> - lib/vlog.man \
> - ovsdb/ovsdb-schemas.man
> -ovsdb/ovsdb-client.1.in:
> -lib/common-syn.man:
> -lib/common.man:
> -lib/daemon-syn.man:
> -lib/daemon.man:
> -lib/ovs.tmac:
> -lib/ssl-bootstrap-syn.man:
> -lib/ssl-bootstrap.man:
> -lib/ssl-connect-syn.man:
> -lib/ssl-connect.man:
> -lib/ssl-syn.man:
> -lib/ssl.man:
> -lib/table.man:
> -lib/vlog-syn.man:
> -lib/vlog.man:
> -ovsdb/ovsdb-schemas.man:
> -
> -ovsdb/ovsdb-server.1: \
> - ovsdb/ovsdb-server.1.in \
> - lib/common-syn.man \
> - lib/common.man \
> - lib/coverage-unixctl.man \
> - lib/daemon-syn.man \
> - lib/daemon.man \
> - lib/memory-unixctl.man \
> - lib/ovs.tmac \
> - lib/service-syn.man \
> - lib/service.man \
> - lib/ssl-bootstrap-syn.man \
> - lib/ssl-bootstrap.man \
> - lib/ssl-connect-syn.man \
> - lib/ssl-connect.man \
> - lib/ssl-peer-ca-cert-syn.man \
> - lib/ssl-peer-ca-cert.man \
> - lib/ssl-syn.man \
> - lib/ssl.man \
> - lib/unixctl-syn.man \
> - lib/unixctl.man \
> - lib/vlog-syn.man \
> - lib/vlog-unixctl.man \
> - lib/vlog.man
> -ovsdb/ovsdb-server.1.in:
> -lib/common-syn.man:
> -lib/common.man:
> -lib/coverage-unixctl.man:
> -lib/daemon-syn.man:
> -lib/daemon.man:
> -lib/memory-unixctl.man:
> -lib/ovs.tmac:
> -lib/service-syn.man:
> -lib/service.man:
> -lib/ssl-bootstrap-syn.man:
> -lib/ssl-bootstrap.man:
> -lib/ssl-connect-syn.man:
> -lib/ssl-connect.man:
> -lib/ssl-peer-ca-cert-syn.man:
> -lib/ssl-peer-ca-cert.man:
> -lib/ssl-syn.man:
> -lib/ssl.man:
> -lib/unixctl-syn.man:
> -lib/unixctl.man:
> -lib/vlog-syn.man:
> -lib/vlog-unixctl.man:
> -lib/vlog.man:
> -
> -ovsdb/ovsdb-tool.1: \
> - ovsdb/ovsdb-tool.1.in \
> - lib/common-syn.man \
> - lib/common.man \
> - lib/ovs.tmac \
> - lib/vlog-syn.man \
> - lib/vlog.man \
> - ovsdb/ovsdb-schemas.man
> -ovsdb/ovsdb-tool.1.in:
> -lib/common-syn.man:
> -lib/common.man:
> -lib/ovs.tmac:
> -lib/vlog-syn.man:
> -lib/vlog.man:
> -ovsdb/ovsdb-schemas.man:
> -
> -utilities/bugtool/ovs-bugtool.8: \
> - utilities/bugtool/ovs-bugtool.8.in \
> - lib/ovs.tmac
> -utilities/bugtool/ovs-bugtool.8.in:
> -lib/ovs.tmac:
> -
> -
> -utilities/ovs-dpctl-top.8: \
> - utilities/ovs-dpctl-top.8.in \
> - lib/ovs.tmac
> -utilities/ovs-dpctl-top.8.in:
> -lib/ovs.tmac:
> -
> -utilities/ovs-dpctl.8: \
> - utilities/ovs-dpctl.8.in \
> - lib/common.man \
> - lib/dpctl.man \
> - lib/ovs.tmac \
> - lib/vlog.man
>