[Gimp-docs] making html pages for an easier updatable site

Ulf-D. Ehlert ude88 at web.de
Wed Mar 25 06:02:23 PDT 2009


Marco Ciampa (Mittwoch, 25. März 2009, 10:55):
> apt-get install symlinks
> man symlinks

That's it! 
But is seems to be Debian-specific... :-(

> > > Q: is it possible to substitute all absolute links with relative
> > > one
> >
> > Yes, of course. For instance, we can write a little
> > shell/Perl/Python script to make relative links or (better) to do
> > all the
> > find-image-and-make-link stuff (try 'make -n xml/it/images' to see
> > these commands).
>
> ok I'm working on it, please wait...

Don't write a script based on "symlinks"!

I've written a little Perl script, which uses the File:.Spec module and 
should be portable.

Check it, it should be what you need.

Ulf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make_image_links.pl
Type: application/x-perl
Size: 3231 bytes
Desc: not available
Url : /lists/gimp-docs/attachments/20090325/c92dc219/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile.GNU.diff
Type: text/x-diff
Size: 1030 bytes
Desc: not available
Url : /lists/gimp-docs/attachments/20090325/c92dc219/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : /lists/gimp-docs/attachments/20090325/c92dc219/attachment-0002.bin 


More information about the Gimp-docs mailing list