Changeset 1620 in MondoRescue for branches/2.2.5/pbconf/mondo/pbinit


Ignore:
Timestamp:
Sep 7, 2007, 2:56:08 AM (12 years ago)
Author:
Bruno Cornec
Message:

mondo and mindi seems ok with pb up to local pkg

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.5/pbconf/mondo/pbinit

    r1608 r1620  
    55
    66# Export documentation to generate what is needed
     7use ProjectBuilder::Base qw (pb_cms_init pb_cms_export pb_mkdir_p);
    78
    89system("./bootstrap");
    9 mkdir "docs";
    10 mkdir "docs/en";
    11 mkdir "docs/man";
    12 system("$ENV{'PBCMSEXP'} $ENV{'PBROOT'}/mondo-doc/mondoarchive.8 docs/man/mondoarchive.8");
    13 system("$ENV{'PBCMSEXP'} $ENV{'PBROOT'}/mondo-doc/mondorestore.8 docs/man/mondorestore.8");
    14 system("$ENV{'PBCMSEXP'} $ENV{'PBROOT'}/mondo-doc/images docs/en/images");
    15 system("$ENV{'PBCMSEXP'} $ENV{'PBROOT'}/mondo-doc/fdl.sgml docs/en/fdl.sgml");
    16 system("$ENV{'PBCMSEXP'} $ENV{'PBROOT'}/mondo-doc/mondorescue-howto.sgml docs/en/mondorescue-howto.sgml");
    17 system("$ENV{'PBCMSEXP'} $ENV{'PBROOT'}/mondo-doc/mondorescue-howto.dsl docs/en/mondorescue-howto.dsl");
    18 system("$ENV{'PBCMSEXP'} $ENV{'PBROOT'}/mondo-doc/Makefile.howto docs/en/Makefile.howto");
     10pb_mkdir_p("docs/en");
     11pb_mkdir_p("docs/man");
     12
     13my $cms = pb_cms_init($ENV{'PBPROJ'},undef);
     14
     15pb_cms_export($cms,undef,"$ENV{'PBROOT'}/mondo-doc/mondoarchive.8","docs/man");
     16pb_cms_export($cms,undef,"$ENV{'PBROOT'}/mondo-doc/mondorestore.8","docs/man");
     17pb_cms_export($cms,undef,"$ENV{'PBROOT'}/mondo-doc/images","docs/en/images");
     18pb_cms_export($cms,undef,"$ENV{'PBROOT'}/mondo-doc/fdl.sgml","docs/en");
     19pb_cms_export($cms,undef,"$ENV{'PBROOT'}/mondo-doc/mondorescue-howto.sgml","docs/en");
     20pb_cms_export($cms,undef,"$ENV{'PBROOT'}/mondo-doc/mondorescue-howto.dsl","docs/en");
     21pb_cms_export($cms,undef,"$ENV{'PBROOT'}/mondo-doc/Makefile.howto","docs/en");
    1922# should call filter_file here
    20 chdir "docs/en";
    21 system("make -f Makefile.howto mondorescue-howto.pdf mondorescue-howto.html");
     23system("cd docs/en ; ls -lR > /tmp/1 ; make -f Makefile.howto mondorescue-howto.pdf mondorescue-howto.html");
Note: See TracChangeset for help on using the changeset viewer.