source: ProjectBuilder/projects/mondorescue/pbconf/branches/2.2.6/mindi/pbinit@ 406

Last change on this file since 406 was 406, checked in by Bruno Cornec, 16 years ago

Update of mondorescue pbinit scripts to take in account the upcoming pb 0.9.1 with split modules

  • Property svn:executable set to *
File size: 588 bytes
Line 
1#!/usr/bin/perl -w
2#
3# Init script for mondo with Project-Builder
4#
5use ProjectBuilder::CMS qw (pb_cms_export pb_cms_init);
6use ProjectBuilder::Filter qw (pb_get_filters pb_filter_file_inplace);
7
8
9my $pbpkg = "PBPKG";
10my $pbver = "PBVER";
11my $pbtag = "PBTAG";
12my $pbrev = "PBREV";
13
14# Export documentation to generate what is needed
15
16my ($scheme,$uri) = pb_cms_init(undef);
17
18pb_cms_export($uri,"$ENV{'PBDIR'}/mondo-doc/mindi.8",".");
19# should call filter_file here
20
21my $ptr = pb_get_filters($pbpkg);
22pb_filter_file_inplace($ptr,"mindi.8",$ENV{'PBPROJ'},$pbpkg,$pbver,$pbtag,$pbrev,"","");
Note: See TracBrowser for help on using the repository browser.