Rob Landley rland...@parallels.com writes:
On 02/16/2011 11:23 PM, Trent W. Buck wrote:
PS: instead of HTML=$(echo $i | sed 's/\.sgml\.in$/.html/') try
HTML=${i%.sgml.in}.html. See PATTERN SUBSTITUTIONS in the bash
manpage, though this is POSIX portable sh.
Last I checked Ubuntu's
Attached is is the world's ugliest shell script to convert the *.sgml.in
files to html.
The doc directory hasn't got a makefile in it, so there's nothing to add
an HTML output path to. If you cd in there and try to convert stuff
directly (as was suggested) you have to chop out @builddir@ from
Rob Landley rland...@parallels.com writes:
#!/bin/bash
for i in lxc-*.in
do
echo $i
OUT=$(echo $i | sed 's/\.in$//')
HTML=$(echo $i | sed 's/\.sgml\.in$/.html/')
echo ?xml version='1.0' encoding='UTF-8'? $OUT
echo '?xml-stylesheet type=text/xsl
On 02/15/2011 08:27 AM, Rob Landley wrote:
On 02/14/2011 06:24 PM, Trent W. Buck wrote:
Sorry about the previous post. I'm awake now.
If I remove the .in from common_options.sgml.in and see_also.sgml.in,
and change lxc-console.sgml.in's prelude to
?xml version='1.0' encoding='UTF-8'?
On 02/15/2011 04:29 AM, Daniel Lezcano wrote:
PS: the extension ought to be .xml, not .sgml, and I recommend you
switch from Emacs' sgml-mode to nxml-mode, which is the default for .xml
files in recent GNU Emacs releases.
I'd rather not get any emacs on me.
But this should be enough to put
On 02/15/2011 03:37 PM, Rob Landley wrote:
On 02/15/2011 04:29 AM, Daniel Lezcano wrote:
PS: the extension ought to be .xml, not .sgml, and I recommend you
switch from Emacs' sgml-mode to nxml-mode, which is the default for .xml
files in recent GNU Emacs releases.
I'd rather not get any emacs
Sorry about the previous post. I'm awake now.
If I remove the .in from common_options.sgml.in and see_also.sgml.in,
and change lxc-console.sgml.in's prelude to
?xml version='1.0' encoding='UTF-8'?
?xml-stylesheet type=text/xsl
On 02/09/2011 02:19 AM, Daniel Lezcano wrote:
On 02/09/2011 04:34 AM, Rob Landley wrote:
On 02/07/2011 09:28 AM, Daniel Lezcano wrote:
On 02/07/2011 04:19 PM, Rob Landley wrote:
Does the makefile's man page generation stuff do html files?
Because if
so I'd like put them on the web page,
On 02/07/2011 09:28 AM, Daniel Lezcano wrote:
On 02/07/2011 04:19 PM, Rob Landley wrote:
Does the makefile's man page generation stuff do html files? Because if
so I'd like put them on the web page, it's some of the best
documentation on the thing and people trying to learn about containers
Does the makefile's man page generation stuff do html files? Because if
so I'd like put them on the web page, it's some of the best
documentation on the thing and people trying to learn about containers
can't find it via google...
Rob
On 02/07/2011 04:19 PM, Rob Landley wrote:
Does the makefile's man page generation stuff do html files? Because if
so I'd like put them on the web page, it's some of the best
documentation on the thing and people trying to learn about containers
can't find it via google...
Yep, you can use
11 matches
Mail list logo