Last change
on this file since 1880 was 1774, checked in by Bruno Cornec, 11 years ago |
- svn merge -r 1199:1772 ../3.0
|
-
Property svn:executable
set to
*
|
File size:
730 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;
|
---|
[1774] | 6 | use ProjectBuilder::VCS;
|
---|
[418] | 7 | use ProjectBuilder::Filter;
|
---|
| 8 | use ProjectBuilder::Env;
|
---|
[384] | 9 |
|
---|
[554] | 10 | my %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";
|
---|
[1774] | 18 | $pb{'extdir'} = "PBEXTDIR";
|
---|
[384] | 19 |
|
---|
| 20 | # Export documentation to generate what is needed
|
---|
| 21 |
|
---|
[418] | 22 | # Action needs to be pbinit
|
---|
[554] | 23 | my ($filteredfiles, $supfiles, $defpkgdir, $extpkgdir) = pb_env_init($pb{'proj'},undef,"pbinit");
|
---|
[384] | 24 | my ($scheme,$uri) = pb_cms_init(undef);
|
---|
| 25 |
|
---|
[1774] | 26 | pb_vcs_export($uri,"$ENV{'PBDIR'}/mondo-doc/mindi.8",".");
|
---|
[384] | 27 |
|
---|
[554] | 28 | my $ptr = pb_get_filters($pb{'pkg'});
|
---|
| 29 | pb_filter_file_inplace($ptr,"mindi.8",\%pb);
|
---|
Note:
See
TracBrowser
for help on using the repository browser.