|
Last change
on this file since 1707 was 1620, checked in by Bruno Cornec, 18 years ago |
|
mondo and mindi seems ok with pb up to local pkg
|
-
Property svn:executable
set to
*
|
|
File size:
1009 bytes
|
| Line | |
|---|
| 1 | #!/usr/bin/perl -w
|
|---|
| 2 | #
|
|---|
| 3 | # Init script for mondo with Project-Builder
|
|---|
| 4 | #
|
|---|
| 5 |
|
|---|
| 6 | # Export documentation to generate what is needed
|
|---|
| 7 | use ProjectBuilder::Base qw (pb_cms_init pb_cms_export pb_mkdir_p);
|
|---|
| 8 |
|
|---|
| 9 | system("./bootstrap");
|
|---|
| 10 | pb_mkdir_p("docs/en");
|
|---|
| 11 | pb_mkdir_p("docs/man");
|
|---|
| 12 |
|
|---|
| 13 | my $cms = pb_cms_init($ENV{'PBPROJ'},undef);
|
|---|
| 14 |
|
|---|
| 15 | pb_cms_export($cms,undef,"$ENV{'PBROOT'}/mondo-doc/mondoarchive.8","docs/man");
|
|---|
| 16 | pb_cms_export($cms,undef,"$ENV{'PBROOT'}/mondo-doc/mondorestore.8","docs/man");
|
|---|
| 17 | pb_cms_export($cms,undef,"$ENV{'PBROOT'}/mondo-doc/images","docs/en/images");
|
|---|
| 18 | pb_cms_export($cms,undef,"$ENV{'PBROOT'}/mondo-doc/fdl.sgml","docs/en");
|
|---|
| 19 | pb_cms_export($cms,undef,"$ENV{'PBROOT'}/mondo-doc/mondorescue-howto.sgml","docs/en");
|
|---|
| 20 | pb_cms_export($cms,undef,"$ENV{'PBROOT'}/mondo-doc/mondorescue-howto.dsl","docs/en");
|
|---|
| 21 | pb_cms_export($cms,undef,"$ENV{'PBROOT'}/mondo-doc/Makefile.howto","docs/en");
|
|---|
| 22 | # should call filter_file here
|
|---|
| 23 | system("cd docs/en ; ls -lR > /tmp/1 ; make -f Makefile.howto mondorescue-howto.pdf mondorescue-howto.html");
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.