/[public]/psiconv/trunk/formats/generate_html.sh
ViewVC logotype

Diff of /psiconv/trunk/formats/generate_html.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 148 Revision 149
1#!/bin/sh 1#! /bin/sh
2 2
3if test "$#" -lt 3 ; then 3if test "$#" -lt 3 ; then
4 echo "Syntax: $0 psiconv_dir output_dir files..." 4 echo "Syntax: $0 psiconv_dir output_dir files..."
5 exit 1 5 exit 1
6fi 6fi
35rm -rf $tempdir 35rm -rf $tempdir
36mkdir $tempdir 36mkdir $tempdir
37for file in "$@"; do 37for file in "$@"; do
38 echo "Going to process $file..." 38 echo "Going to process $file..."
39 outputfile=$tempdir/`basename $file|sed s,'.psi$','.html,'` 39 outputfile=$tempdir/`basename $file|sed s,'.psi$','.html,'`
40 echo $libtool --mode=execute $psiconv $file -o $outputfile -Thtml3 40 echo $libtool --mode=execute $psiconv -o $outputfile -Thtml3 $file
41 $libtool --mode=execute $psiconv $file -o $outputfile -Thtml3 41 $libtool --mode=execute $psiconv -o $outputfile -Thtml3 $file
42done 42done
43 43
44echo "Going to produce the index..." 44echo "Going to produce the index..."
45( 45(
46 cd $tempdir 46 cd $tempdir

Legend:
Removed from v.148  
changed lines
  Added in v.149

frodo@frodo.looijaard.name
ViewVC Help
Powered by ViewVC 1.1.26