You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

26 lines
761 B

Index: jsdoc.pl
--- jsdoc.pl.orig 2007-03-28 23:00:39 +0200
+++ jsdoc.pl 2008-07-26 11:44:50 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!@l_prefix@/bin/perl -w
#
# This program makes use of the JSDoc module to make a JavaDoc equivalent
@@ -14,14 +14,14 @@
use File::Path;
use Getopt::Long;
use File::Find;
-use lib dirname($0);
+use lib "@l_prefix@/lib/jsdoc";
use JSDoc;
use JSDoc::XML;
use JSDoc::XMI;
use JavaScript::Syntax::HTML qw(to_html);
-use constant LOCATION => dirname($0) . '/';
+use constant LOCATION => "@l_prefix@/share/jsdoc/";
use constant MAIN_TMPL => "main.tmpl";
use constant ALLCLASSES_TMPL => 'allclasses-frame.tmpl';
use constant ALLCLASSES_NOFRAME_TMPL => 'allclasses-noframe.tmpl';