Last change
on this file since 418 was 418, checked in by Bruno Cornec, 17 years ago |
- Adapt pbinit to new pb 0.9.2 and its external functions for mondorescue
- First attempt to have correct deb build again for pb 0.9.2
|
-
Property svn:executable
set to
*
|
File size:
676 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 |
|
---|
15 | # Export documentation to generate what is needed
|
---|
16 |
|
---|
17 | # Action needs to be pbinit
|
---|
18 | my ($filteredfiles, $supfiles, $defpkgdir, $extpkgdir) = pb_env_init($pbproj,undef,"pbinit");
|
---|
19 | my ($scheme,$uri) = pb_cms_init(undef);
|
---|
20 |
|
---|
21 | pb_cms_export($uri,"$ENV{'PBDIR'}/mondo-doc/mindi.8",".");
|
---|
22 | # should call filter_file here
|
---|
23 |
|
---|
24 | my $ptr = pb_get_filters($pbpkg);
|
---|
25 | pb_filter_file_inplace($ptr,"mindi.8",$pbpkg,$pbver,$pbtag,$pbrev,"","",$pbproj);
|
---|
Note:
See
TracBrowser
for help on using the repository browser.