Last change
on this file since 1223 was 1000, checked in by Bruno Cornec, 15 years ago |
r3758@hp92763293260: bruno | 2010-03-17 15:09:33 +0100
- Adds a new MINDI_CONF for mondo install of mindi conf file
|
-
Property svn:executable
set to
*
|
File size:
677 bytes
|
Rev | Line | |
---|
[384] | 1 | #!/usr/bin/perl -w
|
---|
| 2 | #
|
---|
[1000] | 3 | # Init script for mindi with Project-Builder
|
---|
[384] | 4 | #
|
---|
[418] | 5 | use ProjectBuilder::CMS;
|
---|
| 6 | use ProjectBuilder::Filter;
|
---|
| 7 | use ProjectBuilder::Env;
|
---|
[384] | 8 |
|
---|
[554] | 9 | my %pb;
|
---|
| 10 | $pb{'pkg'} = "PBPKG";
|
---|
| 11 | $pb{'ver'} = "PBVER";
|
---|
| 12 | $pb{'tag'} = "PBTAG";
|
---|
| 13 | $pb{'rev'} = "PBREV";
|
---|
| 14 | $pb{'proj'} = "PBPROJ";
|
---|
| 15 | $pb{'date'} = "PBDATE";
|
---|
| 16 | $pb{'repo'} = "PBREPO";
|
---|
[384] | 17 |
|
---|
| 18 | # Export documentation to generate what is needed
|
---|
| 19 |
|
---|
[418] | 20 | # Action needs to be pbinit
|
---|
[554] | 21 | my ($filteredfiles, $supfiles, $defpkgdir, $extpkgdir) = pb_env_init($pb{'proj'},undef,"pbinit");
|
---|
[384] | 22 | my ($scheme,$uri) = pb_cms_init(undef);
|
---|
| 23 |
|
---|
| 24 | pb_cms_export($uri,"$ENV{'PBDIR'}/mondo-doc/mindi.8",".");
|
---|
| 25 |
|
---|
[554] | 26 | my $ptr = pb_get_filters($pb{'pkg'});
|
---|
| 27 | pb_filter_file_inplace($ptr,"mindi.8",\%pb);
|
---|
Note:
See
TracBrowser
for help on using the repository browser.