Re: [PATCH 15/23] doc: convert INSTALL-WMAKER into a texinfo source processed by texi2txt

2015-06-05 Thread Rodolfo García Peñas (kix)

Ok,

I found the patch about mawk.

Cheers,
kix.

Rodolfo García Peñas  escribió:


On Mon, 06 Apr 2015, Christophe CURIS escribió:


The source of the documentation is in Texinfo format to have the
possibility someday to distribute in more format that just plain text;

The INSTALL-WMAKER original file will now be generated automatically when
running the 'autogen.sh' script (for those who made a git-checkout) and
when running 'make' (for the people who create the distribution archive).

The current document have seen these changes:

 - added all the texinfo header (including the copyright notice);

 - texinfo formatting command in place everywhere applicable;

 - re-ordering of the content to try to get a consistent document.

Apart from this, the document should not have seen any change on the
content, because this deserves dedicated patches to show the evolution.

Signed-off-by: Christophe CURIS 
---


Hi,

I have this problem with this patch:

Making all in doc
make[2]: Entering directory '/home/kix/src/wmaker/wmaker-crm/doc'
Making all in build
make[3]: Entering directory '/home/kix/src/wmaker/wmaker-crm/doc/build'
if test ! -e "../../INSTALL-WMAKER" -o -w "../../INSTALL-WMAKER" ; then \
../../script/generate-txt-from-texi.sh \
./Compilation.texi -o ../../INSTALL-WMAKER \
-Dversion="0.95.6" -e "wmaker-dev@lists.windowmaker.org" ; \
else \
echo "Warning: \"../../INSTALL-WMAKER\" is not writeable, not  
regenerated" ; \

fi
Error: cross reference to undefined node/anchor "ConfigureOptions"  
found at line 246

Makefile:489: recipe for target '../../INSTALL-WMAKER' failed
make[3]: *** [../../INSTALL-WMAKER] Error 3
make[3]: Leaving directory '/home/kix/src/wmaker/wmaker-crm/doc/build'
Makefile:544: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/kix/src/wmaker/wmaker-crm/doc'
Makefile:458: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/kix/src/wmaker/wmaker-crm'
Makefile:393: recipe for target 'all' failed
make: *** [all] Error 2
kix@debian:~/src/wmaker/wmaker-crm$

Cheers,
kix


--
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.



Rodolfo García Peñas (kix)
http://www.kix.es/


--
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


Re: [PATCH 15/23] doc: convert INSTALL-WMAKER into a texinfo source processed by texi2txt

2015-06-05 Thread Rodolfo García Peñas
On Mon, 06 Apr 2015, Christophe CURIS escribió:

> The source of the documentation is in Texinfo format to have the
> possibility someday to distribute in more format that just plain text;
> 
> The INSTALL-WMAKER original file will now be generated automatically when
> running the 'autogen.sh' script (for those who made a git-checkout) and
> when running 'make' (for the people who create the distribution archive).
> 
> The current document have seen these changes:
> 
>  - added all the texinfo header (including the copyright notice);
> 
>  - texinfo formatting command in place everywhere applicable;
> 
>  - re-ordering of the content to try to get a consistent document.
> 
> Apart from this, the document should not have seen any change on the
> content, because this deserves dedicated patches to show the evolution.
> 
> Signed-off-by: Christophe CURIS 
> ---

Hi,

I have this problem with this patch:

Making all in doc
make[2]: Entering directory '/home/kix/src/wmaker/wmaker-crm/doc'
Making all in build
make[3]: Entering directory '/home/kix/src/wmaker/wmaker-crm/doc/build'
if test ! -e "../../INSTALL-WMAKER" -o -w "../../INSTALL-WMAKER" ; then \
../../script/generate-txt-from-texi.sh \
./Compilation.texi -o ../../INSTALL-WMAKER \
-Dversion="0.95.6" -e "wmaker-dev@lists.windowmaker.org" ; \
else \
echo "Warning: \"../../INSTALL-WMAKER\" is not writeable, not regenerated" 
; \
fi
Error: cross reference to undefined node/anchor "ConfigureOptions" found at 
line 246
Makefile:489: recipe for target '../../INSTALL-WMAKER' failed
make[3]: *** [../../INSTALL-WMAKER] Error 3
make[3]: Leaving directory '/home/kix/src/wmaker/wmaker-crm/doc/build'
Makefile:544: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/kix/src/wmaker/wmaker-crm/doc'
Makefile:458: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/kix/src/wmaker/wmaker-crm'
Makefile:393: recipe for target 'all' failed
make: *** [all] Error 2
kix@debian:~/src/wmaker/wmaker-crm$

Cheers,
kix


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


Re: [PATCH 15/23] doc: convert INSTALL-WMAKER into a texinfo source processed by texi2txt

2015-04-18 Thread Christophe

- Douglas Torrance  a écrit :
> 
> On 04/06/2015 10:58 AM, Christophe CURIS wrote:
> > diff --git a/doc/build/Makefile.am b/doc/build/Makefile.am
> > index 93e3e8b..c80394e 100644
> > --- a/doc/build/Makefile.am
> > +++ b/doc/build/Makefile.am
> > @@ -1,10 +1,20 @@
> >   # The list of sources are distributed, but none are to be
> >   # installed along with Window Maker:
> >   EXTRA_DIST = Readme \
> > +   Compilation.texi \
> > Translations.texi
> >   
> >   # How to re-generate automatically the top-level text files
> > -all-local: $(top_srcdir)/README.i18n
> > +all-local: $(top_srcdir)/INSTALL-WMAKER $(top_srcdir)/README.i18n
> > +
> > +$(top_srcdir)/INSTALL-WMAKER: $(srcdir)/Compilation.texi 
> > $(top_srcdir)/script/generate-txt-from-texi.sh
> > +   $(AM_V_GEN)if test ! -e "$(top_srcdir)/INSTALL-WMAKER" -o -w 
> > "$(top_srcdir)/INSTALL-WMAKER" ; then \
> > +   $(top_srcdir)/script/generate-txt-from-texi.sh \
> > +   $(srcdir)/Compilation.texi -o $(top_srcdir)/INSTALL-WMAKER \
> > +   -Dversion="$(PACKAGE_VERSION)" -e "$(PACKAGE_BUGREPORT)" ; \
> > +   else \
> > +   echo "Warning: \"$(top_srcdir)/INSTALL-WMAKER\" is not writeable, 
> > not regenerated" ; \
> > +   fi
> >   
> 
> Would it be possible for this to run during "make dist"?
> 
> Right now, the INSTALL-WMAKER in a "make dist"-generated tarball is the 
> one generated by autogen.sh and lists "git#next" as its version (the 
> default).  But when Window Maker is built, a new INSTALL-WMAKER is 
> generated with the version from configure.ac.
> 
> This can cause problems, e.g., when building Debian packages where the 
> source tree is expected to match the source tarball.  There's no problem 
> the first time, but the build fails on successive attempts.
> 
> This is also a problem for README.i18n.


Not really hard to do, and I think your case is totally valid.


Carlos,

Here's a patch to handle the issue.


--
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


Re: [PATCH 15/23] doc: convert INSTALL-WMAKER into a texinfo source processed by texi2txt

2015-04-06 Thread Torrance, Douglas

On 04/06/2015 10:58 AM, Christophe CURIS wrote:
> diff --git a/doc/build/Makefile.am b/doc/build/Makefile.am
> index 93e3e8b..c80394e 100644
> --- a/doc/build/Makefile.am
> +++ b/doc/build/Makefile.am
> @@ -1,10 +1,20 @@
>   # The list of sources are distributed, but none are to be
>   # installed along with Window Maker:
>   EXTRA_DIST = Readme \
> + Compilation.texi \
>   Translations.texi
>   
>   # How to re-generate automatically the top-level text files
> -all-local: $(top_srcdir)/README.i18n
> +all-local: $(top_srcdir)/INSTALL-WMAKER $(top_srcdir)/README.i18n
> +
> +$(top_srcdir)/INSTALL-WMAKER: $(srcdir)/Compilation.texi 
> $(top_srcdir)/script/generate-txt-from-texi.sh
> + $(AM_V_GEN)if test ! -e "$(top_srcdir)/INSTALL-WMAKER" -o -w 
> "$(top_srcdir)/INSTALL-WMAKER" ; then \
> + $(top_srcdir)/script/generate-txt-from-texi.sh \
> + $(srcdir)/Compilation.texi -o $(top_srcdir)/INSTALL-WMAKER \
> + -Dversion="$(PACKAGE_VERSION)" -e "$(PACKAGE_BUGREPORT)" ; \
> + else \
> + echo "Warning: \"$(top_srcdir)/INSTALL-WMAKER\" is not writeable, 
> not regenerated" ; \
> + fi
>   

Would it be possible for this to run during "make dist"?

Right now, the INSTALL-WMAKER in a "make dist"-generated tarball is the 
one generated by autogen.sh and lists "git#next" as its version (the 
default).  But when Window Maker is built, a new INSTALL-WMAKER is 
generated with the version from configure.ac.

This can cause problems, e.g., when building Debian packages where the 
source tree is expected to match the source tarball.  There's no problem 
the first time, but the build fails on successive attempts.

This is also a problem for README.i18n.

Thanks!
Doug

--
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.