source: MondoRescue/branches/stable/pbconf/mondo/pbinit @ 1608

Last change on this file since 1608 was 1608, checked in by Bruno Cornec, 13 years ago

First successful build of mondo pkg with pb

  • Property svn:executable set to *
File size: 960 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
8system("./bootstrap");
9mkdir "docs";
10mkdir "docs/en";
11mkdir "docs/man";
12system("$ENV{'PBCMSEXP'} $ENV{'PBROOT'}/mondo-doc/mondoarchive.8 docs/man/mondoarchive.8");
13system("$ENV{'PBCMSEXP'} $ENV{'PBROOT'}/mondo-doc/mondorestore.8 docs/man/mondorestore.8");
14system("$ENV{'PBCMSEXP'} $ENV{'PBROOT'}/mondo-doc/images docs/en/images");
15system("$ENV{'PBCMSEXP'} $ENV{'PBROOT'}/mondo-doc/fdl.sgml docs/en/fdl.sgml");
16system("$ENV{'PBCMSEXP'} $ENV{'PBROOT'}/mondo-doc/mondorescue-howto.sgml docs/en/mondorescue-howto.sgml");
17system("$ENV{'PBCMSEXP'} $ENV{'PBROOT'}/mondo-doc/mondorescue-howto.dsl docs/en/mondorescue-howto.dsl");
18system("$ENV{'PBCMSEXP'} $ENV{'PBROOT'}/mondo-doc/Makefile.howto docs/en/Makefile.howto");
19# should call filter_file here
20chdir "docs/en";
21system("make -f Makefile.howto mondorescue-howto.pdf mondorescue-howto.html");
Note: See TracBrowser for help on using the repository browser.