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

Last change on this file since 410 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
RevLine 
[384]1#!/usr/bin/perl -w
2#
3# Init script for mondo with Project-Builder
4#
[406]5use ProjectBuilder::CMS qw (pb_cms_export pb_cms_init);
6use ProjectBuilder::Filter qw (pb_get_filters pb_filter_file_inplace);
[384]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);
[410]22pb_filter_file_inplace($ptr,"mindi.8",$pbpkg,$pbver,$pbtag,$pbrev,"","");
Note: See TracBrowser for help on using the repository browser.