Ignore:
Timestamp:
2008-10-08T13:59:48+13:00 (16 years ago)
Author:
anna
Message:

Updated tutorials and associated files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • documentation/trunk/manuals/clean-all.sh

    r13647 r17494  
    11#!/bin/sh
    22
    3 echo "clean all gennerated files"
    4 rm -r build/
     3top_dir=`pwd`
     4output_dir=`pwd`/build
     5
     6echo -e "what do you want to clean? \n type 'pdf' for all pdf files\n 'html' for all html files\n 'all' for all the generated files."
     7read cmd
     8
     9if [ $cmd = 'all' ]; then
     10    rm -r $output_dir/
     11    exit
     12fi
     13
     14
     15langs="en fr es ru"
     16for l in $langs; do
     17    cd $output_dir/$l
     18    if [ $cmd = 'html' ]; then
     19        rm -r html/
     20        echo "removed all the generated html files"
     21    fi
     22    if [ $cmd = 'pdf' ]; then
     23        rm -r pdf/
     24        echo "removed all the generated pdf files"
     25    fi
     26    cd $top_dir
     27done
Note: See TracChangeset for help on using the changeset viewer.