mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-07 18:18:18 +01:00
33 lines
741 B
Perl
Executable File
33 lines
741 B
Perl
Executable File
#!/usr/bin/perl
|
|
#--------------------------------------------------------------------
|
|
# Lance la generation de la doc dev doxygen
|
|
#
|
|
# $Id$
|
|
# $Source$
|
|
#--------------------------------------------------------------------
|
|
|
|
# Detecte repertoire du script
|
|
($DIR=$0) =~ s/([^\/\\]+)$//;
|
|
$DIR||='.';
|
|
$DIR =~ s/([^\/\\])[\\\/]+$/$1/;
|
|
|
|
|
|
use Cwd;
|
|
my $dir = getcwd;
|
|
|
|
print "Current dir is: $dir\n";
|
|
print "Running dir for doxygen must be: $DIR/../..\n";
|
|
|
|
if (! -s "doc/dev/dolibarr-doxygen.conf") {
|
|
print "Error: current directory for building Dolibarr doxygen documentation is not correct.\n";
|
|
sleep 4;
|
|
exit 1;
|
|
}
|
|
|
|
print "Running doxygen, please wait...\n";
|
|
$result=`doxygen doc/dev/dolibarr-doxygen.conf 2>&1`;
|
|
|
|
print $result;
|
|
|
|
0;
|