- Timestamp:
- Nov 10, 2015 11:32:13 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/generate_documentation
r1714 r1715 37 37 fi 38 38 39 doc_dir=$PALM_BIN/../../documentation 40 39 41 # Checking for doxygen 40 42 if type -t doxygen; then 41 43 42 44 # Removing old documentation 43 if [[ -d $ PALM_BIN/../../documentation]];then45 if [[ -d $doc_dir ]];then 44 46 echo "Remove old documentation" 45 rm -r $ PALM_BIN/../../documentation47 rm -r $doc_dir 46 48 fi 47 49 # Generating HTML documentation … … 53 55 exit 1 54 56 fi 55 cd $PALM_BIN/../../documentation 57 cd $doc_dir 58 doc_dir=$(pwd) 56 59 ln -s $(pwd)/html/index.html PALM_doc.html 57 60 echo "HTML source code documentation generated." … … 61 64 62 65 # Generating PDF documentation 63 cd $ PALM_BIN/../../documentation/latex66 cd $doc_dir/latex 64 67 make pdf 65 cd $ PALM_BIN/../../documentation68 cd $doc_dir 66 69 ln -s $(pwd)/latex/refman.pdf PALM_doc.pdf 67 70 echo "PDF source code documentation generated." … … 78 81 fi 79 82 80 echo " PALM source code documentation generated."81 echo " You will find."83 echo "The PALM source code documentation is located in: $doc_dir" 84 echo "Done."
Note: See TracChangeset
for help on using the changeset viewer.