source: projects/mondorescue/pbconf/branches/2.2.6/mindi/pbinit

Last change on this file was 432, checked in by bruno, 11 years ago

idem for mindi's pbinit

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