source: ProjectBuilder/projects/mondorescue/pbconf/branches/3.3/mindi/pbinit@ 2688

Last change on this file since 2688 was 2665, checked in by Bruno Cornec, 4 years ago

pb_temp_init now requires to use the ProjectBuilder::Base module

  • Property svn:executable set to *
File size: 809 bytes
RevLine 
[384]1#!/usr/bin/perl -w
2#
3# Init script for mondo with Project-Builder
4#
[2665]5use ProjectBuilder::Base;
[1483]6use ProjectBuilder::VCS;
[418]7use ProjectBuilder::Filter;
8use ProjectBuilder::Env;
[384]9
[554]10my %pb;
11$pb{'pkg'} = "PBPKG";
12$pb{'ver'} = "PBVER";
13$pb{'tag'} = "PBTAG";
14$pb{'rev'} = "PBREV";
15$pb{'proj'} = "PBPROJ";
16$pb{'date'} = "PBDATE";
17$pb{'repo'} = "PBREPO";
[1442]18$pb{'extdir'} = "PBEXTDIR";
[1818]19$pb{'realpkg'} = "PBREALPKG";
[384]20
[2625]21pb_temp_init();
22
[384]23# Export documentation to generate what is needed
24
[418]25# Action needs to be pbinit
[554]26my ($filteredfiles, $supfiles, $defpkgdir, $extpkgdir) = pb_env_init($pb{'proj'},undef,"pbinit");
[2343]27my ($scheme,$uri) = pb_vcs_init(undef);
[384]28
[1483]29pb_vcs_export($uri,"$ENV{'PBDIR'}/mondo-doc/mindi.8",".");
[384]30# should call filter_file here
31
[554]32my $ptr = pb_get_filters($pb{'pkg'});
33pb_filter_file_inplace($ptr,"mindi.8",\%pb);
Note: See TracBrowser for help on using the repository browser.