On Wed, Mar 25, 2009 at 02:02:23PM +0100, Ulf-D. Ehlert wrote: > > > 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. Done, it works. I've done this little silly script to automate the html creation process: (if it isn't too simple we could add it to the tools dir or insert it in the makefile) make-gimp-manual-html ************************************** #!/bin/bash ################################### # # Creates the html pages archive # # to be run after a 'make html' # ################################### #change your path accordingly SRCBASE=~/svn-gnome/gimp-help-2/trunk cd /tmp mkdir gimp-manual mkdir gimp-manual/images cd gimp-manual cp -R ${SRCBASE}/html html for i in `ls ${SRCBASE}/html` ; do rm html/${i}/images echo "copying ${i} html files..." cp -R ${SRCBASE}/xml/${i}/images html/${i}/images if [ "$i" = "en" ]; then j="C" else j=$i fi echo "copying ${j} image files..." cp -R ${SRCBASE}/images/${j} images/${j} find images/${j} -name '.svn' | xargs rm -Rf done echo "copying common image files..." cp -R ${SRCBASE}/images/common images/common rm -Rf images/common/.svn echo "copying callouts image files..." cp -R ${SRCBASE}/images/callouts images/callouts rm -Rf images/callouts/.svn echo "creating archive..." tar cf gimp-manual.tar * echo "compressing..." gzip gimp-manual.tar mv gimp-manual.tar.gz ~ cd .. echo "removing data dirs..." rm -Rf gimp-manual echo "done." ***************************** With your patch and this script, updating the site pages should be strightforward. I'll use these for creating and updating a local mirror of docs.gimp.org/en & docs.gimp.org/it. I've tested your script and it works. I think that you shoould commit it and update the automake.am too. bye -- Marco Ciampa +--------------------+ | Linux User #78271 | | FSFE fellow #364 | +--------------------+ _______________________________________________ Gimp-docs mailing list Gimp-docs@xxxxxxxxxxxxxxxxxxxxxx https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs