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

Last change on this file since 418 was 418, checked in by Bruno Cornec, 16 years ago
  • Adapt pbinit to new pb 0.9.2 and its external functions for mondorescue
  • First attempt to have correct deb build again for pb 0.9.2
  • Property svn:executable set to *
File size: 676 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";
14
15# Export documentation to generate what is needed
16
17# Action needs to be pbinit
18my ($filteredfiles, $supfiles, $defpkgdir, $extpkgdir) = pb_env_init($pbproj,undef,"pbinit");
19my ($scheme,$uri) = pb_cms_init(undef);
20
21pb_cms_export($uri,"$ENV{'PBDIR'}/mondo-doc/mindi.8",".");
22# should call filter_file here
23
24my $ptr = pb_get_filters($pbpkg);
25pb_filter_file_inplace($ptr,"mindi.8",$pbpkg,$pbver,$pbtag,$pbrev,"","",$pbproj);
Note: See TracBrowser for help on using the repository browser.