From aa6ec1d78726fd2f2d9e32dabb6f5a289978af25 Mon Sep 17 00:00:00 2001 From: Francesco Montorsi Date: Sat, 8 Mar 2008 14:39:02 +0000 Subject: [PATCH] make it callable from any path git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/doxygen/regen.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/doxygen/regen.sh b/docs/doxygen/regen.sh index a542197a39..24d361fa4b 100755 --- a/docs/doxygen/regen.sh +++ b/docs/doxygen/regen.sh @@ -6,6 +6,11 @@ # wxWidgets manual and adjusts the doxygen log to make it more # readable. +me=$(basename $0) +path=${0%%/$me} # path from which the script has been launched +current=$(pwd) +cd $path + mkdir -p out/html # we need to copy files in this folder below mkdir -p out/html/wxmsw out/html/wxgtk out/html/wxmac @@ -48,3 +53,4 @@ mv temp doxygen.log #cat doxygen.log | grep -v ".*supplied.*as.*the.*argument.*is.*not.*an.*input.*file.*" >temp #mv temp doxygen.log +cd $current -- 2.45.2