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

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

Adds all pb projects under the projects dir (from svn+ssh://svn.project-builder.org/mondo/svn/project-builder)

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