Changeset 11986
- Timestamp:
- 07/24/10 20:25:51 (19 months ago)
- File:
-
- 1 edited
-
trunk/tools/parse_wxwidgets_docs.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/parse_wxwidgets_docs.pl
r11985 r11986 13 13 use HTML::FormatText (); 14 14 15 my $pod_dir = File::Spec->join( '..', 'Padre', 'share', 'doc', 'wxwidgets' ); 16 unless ( -d $pod_dir ) { 17 die "Abort! I could not find ../Padre/share/doc/wxwidgets in the current directory\n"; 18 } 19 15 20 my $WX_WIGDETS_HTML_ZIP = 'wxWidgets-2.8.10-HTML.zip'; 16 21 … … 28 33 29 34 # Step 4: Write the final POD while processing all html files 30 write_pod( $ wx_dir, @wxclasses );35 write_pod( $pod_dir, $wx_dir, @wxclasses ); 31 36 32 37 # and we're done … … 166 171 # 167 172 sub write_pod { 168 my ( $ wx_dir, @wxclasses ) = @_;169 my $pod_file = 'wxwidgets.pod';173 my ( $pod_dir, $wx_dir, @wxclasses ) = @_; 174 my $pod_file = File::Spec->join( $pod_dir, 'wxwidgets.pod' ); 170 175 print "Writing $pod_file\n"; 171 if ( open( my $pod, '>', 'wxwidgets.pod') ) {176 if ( open( my $pod, '>', $pod_file ) ) { 172 177 my $oldclass; 173 178 foreach my $wxclass (@wxclasses) {
Note: See TracChangeset
for help on using the changeset viewer.
