Re: Aw: Re: Generating 'cat' pages on make install

2007-11-05 Thread Benoit Sigoure
On Nov 6, 2007, at 5:22 AM, Ralf Wildenhues wrote: * Ralf Wildenhues wrote on Tue, Nov 06, 2007 at 05:11:13AM CET: * Benoit Sigoure wrote on Tue, Nov 06, 2007 at 01:31:42AM CET: --Makefile.am--- bin_PROGRAMS = foo foo_SOURCES = foo.c BUILT_SOURCES = foo

Re: Aw: Re: Generating 'cat' pages on make install

2007-11-05 Thread Ralf Wildenhues
* Ralf Wildenhues wrote on Tue, Nov 06, 2007 at 05:11:13AM CET: > * Benoit Sigoure wrote on Tue, Nov 06, 2007 at 01:31:42AM CET: > > > --Makefile.am--- > > bin_PROGRAMS = foo > > foo_SOURCES = foo.c > > BUILT_SOURCES = foo.c > > > > foo.c: > > echo

Re: Aw: Re: Generating 'cat' pages on make install

2007-11-05 Thread Ralf Wildenhues
* Benoit Sigoure wrote on Tue, Nov 06, 2007 at 01:31:42AM CET: > On Nov 5, 2007, at 9:46 PM, Jason Curl wrote: > >Benoit Sigoure wrote: > >> > >>BUILT_SOURCES are automatically distributed, so you can only list > >>man_MANS in EXTRA_DIST. No, BUILT_SOURCES are not automatically distributed. See

Re: Aw: Re: Generating 'cat' pages on make install

2007-11-05 Thread Benoit Sigoure
On Nov 5, 2007, at 9:46 PM, Jason Curl wrote: Benoit Sigoure wrote: On Nov 5, 2007, at 11:08 AM, Jason Curl wrote: In the end, everything works like a dream. Here's my solution for those who are interested, or who'd like to do something similar for their projects. - configure.ac

Re: Aw: Re: Generating 'cat' pages on make install

2007-11-05 Thread Jason Curl
Jason Curl wrote: - configure.ac - ... AC_PATH_PROG([RMAN], [rman]) test x"$RMAN" = x && $ac_unset RMAN AM_MISSING_PROG([RMAN], [rman]) ... - Makefile.am - man_MANS = file1.3 file2.3 html_DATA = ($man_MANS:.3=.html) BUILT_SOURCES = $(html_DATA) EXTRA_DIST = $(man_MANS) $(html_DATA

Re: Aw: Re: Generating 'cat' pages on make install

2007-11-05 Thread Jason Curl
Benoit Sigoure wrote: On Nov 5, 2007, at 11:08 AM, Jason Curl wrote: In the end, everything works like a dream. Here's my solution for those who are interested, or who'd like to do something similar for their projects. - configure.ac - ... AC_PATH_PROG([RMAN], [rman]) test x"$RMAN" =

Re: Aw: Re: Generating 'cat' pages on make install

2007-11-05 Thread Benoit Sigoure
On Nov 5, 2007, at 11:08 AM, Jason Curl wrote: In the end, everything works like a dream. Here's my solution for those who are interested, or who'd like to do something similar for their projects. - configure.ac - ... AC_PATH_PROG([RMAN], [rman]) test x"$RMAN" = x && $ac_unset RMAN

Aw: Re: Generating 'cat' pages on make install

2007-11-05 Thread Jason Curl
Von: Benoit SIGOURE <[EMAIL PROTECTED]> > On Nov 4, 2007, at 7:59 PM, Jason Curl wrote: > > > I've implemented the following: > > > > -8< Makefile.am > > man_MANS = \ > >libmofo.3

Re: Generating 'cat' pages on make install

2007-11-04 Thread Benoit SIGOURE
On Nov 4, 2007, at 7:59 PM, Jason Curl wrote: I've implemented the following: -8< Makefile.am man_MANS = \ libmofo.3 \ convertstring.3

Re: Generating 'cat' pages on make install

2007-11-04 Thread Jason Curl
Benoit SIGOURE wrote: On Nov 4, 2007, at 2:40 PM, Jason Curl wrote: So let's assume I've got a command on my build environment groff -Tascii -mandoc myman.3 | col -b > mycat.3 I might even extend this to generate HTML instead of ASCII. Later I'd be implementing a Perl script to convert what

Re: Generating 'cat' pages on make install

2007-11-04 Thread Benoit SIGOURE
On Nov 4, 2007, at 2:40 PM, Jason Curl wrote: So let's assume I've got a command on my build environment groff -Tascii -mandoc myman.3 | col -b > mycat.3 I might even extend this to generate HTML instead of ASCII. Later I'd be implementing a Perl script to convert what is in code comments t

Re: Generating 'cat' pages on make install

2007-11-04 Thread Jason Curl
Bob Proulx wrote: Jason Curl wrote: Continuing with my efforts of making a library designed for Linux a bit usable for colleagues on Windows I'd like to figure out how to install "cat" pages, i.e. conversions of "man" pages. Hmm... Would it make more sense to set up 'man' on ms-windo

Re: Generating 'cat' pages on make install

2007-11-03 Thread Bob Proulx
Jason Curl wrote: > Continuing with my efforts of making a library designed for Linux a bit > usable for colleagues on Windows I'd like to figure out how to install > "cat" pages, i.e. conversions of "man" pages. Hmm... Would it make more sense to set up 'man' on ms-windows for your colleagues

Generating 'cat' pages on make install

2007-11-03 Thread Jason Curl
Hello, Continuing with my efforts of making a library designed for Linux a bit usable for colleagues on Windows I'd like to figure out how to install "cat" pages, i.e. conversions of "man" pages. I can write a script that will do the conversion for me, but I'd ideally like to have a rule tha