Last change
on this file since 1880 was 432, checked in by Bruno Cornec, 16 years ago |
idem for mindi's pbinit
|
-
Property svn:executable
set to
*
|
File size:
707 bytes
|
Line | |
---|
1 | #!/usr/bin/perl -w
|
---|
2 | #
|
---|
3 | # Init script for mondo with Project-Builder
|
---|
4 | #
|
---|
5 | use ProjectBuilder::CMS;
|
---|
6 | use ProjectBuilder::Filter;
|
---|
7 | use ProjectBuilder::Env;
|
---|
8 |
|
---|
9 | my $pbpkg = "PBPKG";
|
---|
10 | my $pbver = "PBVER";
|
---|
11 | my $pbtag = "PBTAG";
|
---|
12 | my $pbrev = "PBREV";
|
---|
13 | my $pbproj = "PBPROJ";
|
---|
14 | my $pbrepo = "PBREPO";
|
---|
15 |
|
---|
16 | # Export documentation to generate what is needed
|
---|
17 |
|
---|
18 | # Action needs to be pbinit
|
---|
19 | my ($filteredfiles, $supfiles, $defpkgdir, $extpkgdir) = pb_env_init($pbproj,undef,"pbinit");
|
---|
20 | my ($scheme,$uri) = pb_cms_init(undef);
|
---|
21 |
|
---|
22 | pb_cms_export($uri,"$ENV{'PBDIR'}/mondo-doc/mindi.8",".");
|
---|
23 | # should call filter_file here
|
---|
24 |
|
---|
25 | my $ptr = pb_get_filters($pbpkg);
|
---|
26 | pb_filter_file_inplace($ptr,"mindi.8",$pbpkg,$pbver,$pbtag,$pbrev,"","",$pbproj,$pbrepo);
|
---|
Note:
See
TracBrowser
for help on using the repository browser.