Last change
on this file since 1107 was 432, checked in by Bruno Cornec, 16 years ago |
idem for mindi's pbinit
|
-
Property svn:executable
set to
*
|
File size:
707 bytes
|
Rev | Line | |
---|
[384] | 1 | #!/usr/bin/perl -w
|
---|
| 2 | #
|
---|
| 3 | # Init script for mondo with Project-Builder
|
---|
| 4 | #
|
---|
[418] | 5 | use ProjectBuilder::CMS;
|
---|
| 6 | use ProjectBuilder::Filter;
|
---|
| 7 | use ProjectBuilder::Env;
|
---|
[384] | 8 |
|
---|
| 9 | my $pbpkg = "PBPKG";
|
---|
| 10 | my $pbver = "PBVER";
|
---|
| 11 | my $pbtag = "PBTAG";
|
---|
| 12 | my $pbrev = "PBREV";
|
---|
[418] | 13 | my $pbproj = "PBPROJ";
|
---|
[432] | 14 | my $pbrepo = "PBREPO";
|
---|
[384] | 15 |
|
---|
| 16 | # Export documentation to generate what is needed
|
---|
| 17 |
|
---|
[418] | 18 | # Action needs to be pbinit
|
---|
| 19 | my ($filteredfiles, $supfiles, $defpkgdir, $extpkgdir) = pb_env_init($pbproj,undef,"pbinit");
|
---|
[384] | 20 | my ($scheme,$uri) = pb_cms_init(undef);
|
---|
| 21 |
|
---|
| 22 | pb_cms_export($uri,"$ENV{'PBDIR'}/mondo-doc/mindi.8",".");
|
---|
| 23 | # should call filter_file here
|
---|
| 24 |
|
---|
| 25 | my $ptr = pb_get_filters($pbpkg);
|
---|
[432] | 26 | pb_filter_file_inplace($ptr,"mindi.8",$pbpkg,$pbver,$pbtag,$pbrev,"","",$pbproj,$pbrepo);
|
---|
Note:
See
TracBrowser
for help on using the repository browser.