Diff for platos/_scripts/build-struct between version 1.8 and 1.9
| version 1.8, 2005/05/29 00:02:47 |
version 1.9, 2005/05/30 21:58:20 |
|
|
| # 30/01/2003 - created |
# 30/01/2003 - created |
| # |
# |
| |
|
| # $Platon: Platon.SK/office/_scripts/build-struct,v 1.7 2004/09/24 17:50:17 rajo Exp $ |
# $Platon: Platon.SK/office/_scripts/build-struct,v 1.8 2005/05/29 00:02:47 rajo Exp $ |
| |
|
| usage() |
usage() |
| { |
{ |
| Line 78 elif [ "X$1" = "XPDF" ]; then |
|
| Line 78 elif [ "X$1" = "XPDF" ]; then |
|
| |
|
| elif [ "X$1" = "XHTML" ]; then |
elif [ "X$1" = "XHTML" ]; then |
| |
|
| test_environ pdf_INPUT pdf_OUTPUT |
test_environ htm_INPUT htm_OUTPUT |
| test -d HTML || mkdir -p HTML |
test -d HTML || mkdir -p HTML |
| cd HTML \ |
cd HTML \ |
| && make_symlinks \ |
&& make_symlinks \ |
| Line 86 elif [ "X$1" = "XHTML" ]; then |
|
| Line 86 elif [ "X$1" = "XHTML" ]; then |
|
| ln -s -f "../$i" "$i" |
ln -s -f "../$i" "$i" |
| done |
done |
| |
|
| |
elif [ "X$1" = "XRTF" ]; then |
| |
|
| |
test_environ rtf_INPUT rtf_OUTPUT |
| |
test -d RTF || mkdir -p RTF |
| |
cd RTF \ |
| |
&& make_symlinks \ |
| |
&& for i in $rtf_INPUT; do |
| |
ln -s -f "../$i" "$i" |
| |
done |
| |
|
| else |
else |
| echo "I don't know, what do you want with parameter '$1'..." |
echo "I don't know, what do you want with parameter '$1'..." |
| exit 1 |
exit 1 |
Platon Group <platon@platon.org> http://platon.org/
|
|