Unfortunately, it wasn't perfect, it missed all the hrefs that had
#something at the end.  Easily fixed, though.  I'll push when done.

In message <5496bde8.1070...@tongareva.de> on Sun, 21 Dec 2014 13:32:40 +0100, 
Ulrich Pegelow <ulrich.pege...@tongareva.de> said:

ulrich.pegelow> Dear Richard,
ulrich.pegelow> 
ulrich.pegelow> looks good! Do you want to push the fix?
ulrich.pegelow> 
ulrich.pegelow> Ulrich
ulrich.pegelow> 
ulrich.pegelow> Am 21.12.2014 um 10:14 schrieb Richard Levitte:
ulrich.pegelow> > In message <5495cf4c.20...@tongareva.de> on Sat, 20 Dec 2014 
20:34:36
ulrich.pegelow> > +0100, Ulrich Pegelow <ulrich.pege...@tongareva.de> said:
ulrich.pegelow> >
ulrich.pegelow> > ulrich.pegelow> Am 20.12.2014 um 19:44 schrieb Richard 
Levitte:
ulrich.pegelow> > ulrich.pegelow> > An external reference will certainly have a 
colon,
ulrich.pegelow> > so something like
ulrich.pegelow> > ulrich.pegelow> > this (assuming they're all surrounded by ")?
ulrich.pegelow> > ulrich.pegelow> >
ulrich.pegelow> > ulrich.pegelow> > 's|"\([^":]*\.html\)"|"\1.php"|g'
ulrich.pegelow> > ulrich.pegelow> >
ulrich.pegelow> > ulrich.pegelow> > I haven't really tested much, but it's an 
idea...
ulrich.pegelow> > ulrich.pegelow>
ulrich.pegelow> > ulrich.pegelow> OK, looks reasonable. But now come the 
subtleties: how
ulrich.pegelow> > to make this
ulrich.pegelow> > ulrich.pegelow> work with the quotations marks? Means: works 
as a
ulrich.pegelow> > CMakeLists.txt,
ulrich.pegelow> > ulrich.pegelow> works as a shell command, works as a sed -e 
expression
ulrich.pegelow> > and does what
ulrich.pegelow> > ulrich.pegelow> it's supposed to do. Just putting in the 
suggested
ulrich.pegelow> > string already
ulrich.pegelow> > ulrich.pegelow> fails at the cmake level :(
ulrich.pegelow> >
ulrich.pegelow> > Hmmm, it appears cmake does some odd treatment of strings or
ulrich.pegelow> > something...  I don't quite get it, it seems it copies them 
verbatim
ulrich.pegelow> > (except for doubling $ signs, of course), so I thought my 
string would
ulrich.pegelow> > go through without problems.
ulrich.pegelow> >
ulrich.pegelow> > Anyhow, the diff I'm attaching goes through and produces a 
sensible
ulrich.pegelow> > 
build/doc/usermanual/CMakeFiles/darktable-usermanual-wordpress.dir/build.make
ulrich.pegelow> > as far as I can tell (*).  Please try it out.
ulrich.pegelow> >
ulrich.pegelow> > (*) I've problems with my saxon/docbook setup, I keep getting 
this
ulrich.pegelow> > when trying to produce a wp manual (running with 'make 
VERBOSE=1'):
ulrich.pegelow> >
ulrich.pegelow> >      [ 97%] Building php usermanual
ulrich.pegelow> >      cd 
/home/levitte/gitwrk/github.com/darktable-swedish/doc/usermanual && 
/usr/bin/java -cp 
/etc/xml/resolver:/usr/share/java/saxon.jar:/usr/share/java/saxon.jar 
com.icl.saxon.StyleSheet 
/home/levitte/gitwrk/github.com/darktable-swedish/build/doc/usermanual/darktable_single.xml
 xsl/darktable_html_ext.xsl chunker.output.encoding=UTF-8 
base.dir=/home/levitte/gitwrk/github.com/darktable-swedish/build/doc/usermanual/wp/
ulrich.pegelow> >      No adjustColumnWidths function available.
ulrich.pegelow> >      Processing terminated by xsl:message at line 402
ulrich.pegelow> >      
doc/usermanual/CMakeFiles/darktable-usermanual-wordpress.dir/build.make:51: 
recipe for target 'doc/usermanual/wp/index.html.php' failed
ulrich.pegelow> >      make[3]: *** [doc/usermanual/wp/index.html.php] Error 1
ulrich.pegelow> >      make[3]: Leaving directory 
'/home/levitte/gitwrk/github.com/darktable-swedish/build'
ulrich.pegelow> >      CMakeFiles/Makefile2:7909: recipe for target 
'doc/usermanual/CMakeFiles/darktable-usermanual-wordpress.dir/all' failed
ulrich.pegelow> >      make[2]: *** 
[doc/usermanual/CMakeFiles/darktable-usermanual-wordpress.dir/all] Error 2
ulrich.pegelow> >      make[2]: Leaving directory 
'/home/levitte/gitwrk/github.com/darktable-swedish/build'
ulrich.pegelow> >      CMakeFiles/Makefile2:7917: recipe for target 
'doc/usermanual/CMakeFiles/darktable-usermanual-wordpress.dir/rule' failed
ulrich.pegelow> >      make[1]: *** 
[doc/usermanual/CMakeFiles/darktable-usermanual-wordpress.dir/rule] Error 2
ulrich.pegelow> >      make[1]: Leaving directory 
'/home/levitte/gitwrk/github.com/darktable-swedish/build'
ulrich.pegelow> >      Makefile:2996: recipe for target 
'darktable-usermanual-wordpress' failed
ulrich.pegelow> >      make: *** [darktable-usermanual-wordpress] Error 2
ulrich.pegelow> >
ulrich.pegelow> > Cheers,
ulrich.pegelow> > Richard
ulrich.pegelow> >
ulrich.pegelow> 

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
darktable-devel mailing list
darktable-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-devel

Reply via email to