Last change
on this file since 1504 was 410, checked in by Bruno Cornec, 16 years ago |
- preparation for 0.9.1
- Update of pbinit files for mondo to support the new interface of pb_filter functions
|
-
Property svn:executable
set to
*
|
File size:
573 bytes
|
Rev | Line | |
---|
[384] | 1 | #!/usr/bin/perl -w
|
---|
| 2 | #
|
---|
| 3 | # Init script for mondo with Project-Builder
|
---|
| 4 | #
|
---|
[406] | 5 | use ProjectBuilder::CMS qw (pb_cms_export pb_cms_init);
|
---|
| 6 | use ProjectBuilder::Filter qw (pb_get_filters pb_filter_file_inplace);
|
---|
[384] | 7 |
|
---|
| 8 |
|
---|
| 9 | my $pbpkg = "PBPKG";
|
---|
| 10 | my $pbver = "PBVER";
|
---|
| 11 | my $pbtag = "PBTAG";
|
---|
| 12 | my $pbrev = "PBREV";
|
---|
| 13 |
|
---|
| 14 | # Export documentation to generate what is needed
|
---|
| 15 |
|
---|
| 16 | my ($scheme,$uri) = pb_cms_init(undef);
|
---|
| 17 |
|
---|
| 18 | pb_cms_export($uri,"$ENV{'PBDIR'}/mondo-doc/mindi.8",".");
|
---|
| 19 | # should call filter_file here
|
---|
| 20 |
|
---|
| 21 | my $ptr = pb_get_filters($pbpkg);
|
---|
[410] | 22 | pb_filter_file_inplace($ptr,"mindi.8",$pbpkg,$pbver,$pbtag,$pbrev,"","");
|
---|
Note:
See
TracBrowser
for help on using the repository browser.