Changeset 1619


Ignore:
Timestamp:
Sep 7, 2007, 2:55:58 AM (12 years ago)
Author:
bruno
Message:

mondo and mindi seems ok with pb up to local pkg

Location:
branches/stable
Files:
3 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mindi/install.sh

    r1603 r1619  
    3838fi
    3939
    40 MINDIVER=`cat VERSION`
    41 MINDIREV=`cat REVISION`
     40MINDIVER=PBVER
     41MINDIREV=PBREV
    4242ARCH=`/bin/uname -m`
    4343echo "mindi ${MINDIVER}-r${MINDIREV} will be installed under $local"
     
    122122chmod 755 $locallib/mindi/aux-tools/sbin/*
    123123
    124 # Substirute variables for init
     124# Substitute variables for init
    125125perl -pi -e "s~^MINDI_VER=VVV~MINDI_VER=$MINDIVER~ ; s~^MINDI_REV=RRR~MINDI_REV=$MINDIREV~" $locallib/mindi/rootfs/sbin/init
    126126
  • branches/stable/mondo/configure.in

    r1377 r1619  
    77dnl $Id$
    88dnl
    9 define(MONDO_VER,m4_normalize(esyscmd(cat VERSION)))
    10 define(MONDO_REV,m4_normalize(esyscmd(cat REVISION | awk '{print r$1}')))
     9define(MONDO_VER,m4_normalize(PBVER))
     10define(MONDO_REV,m4_normalize(rPBREV))
    1111define(MONDO_TAG,MONDO_VER-MONDO_REV)
    1212AC_INIT([Mondo Rescue],MONDO_TAG,[mondo-devel@lists.sourceforge.net])
  • branches/stable/pbconf/mindi/pbinit

    r1608 r1619  
    33# Init script for mondo with Project-Builder
    44#
     5use ProjectBuilder::Base qw (pb_cms_export);
    56
    67# Export documentation to generate what is needed
    78
    8 system("$ENV{'PBCMSEXP'} $ENV{'PBROOT'}/mondo-doc/mindi.8 mindi.8");
     9my $cms = pb_cms_init($ENV{'PBPROJ'},undef);
     10
     11pb_cms_export($cms,undef,"$ENV{'PBROOT'}/mondo-doc/mindi.8",".");
    912# should call filter_file here
  • branches/stable/pbconf/mondo/pbinit

    r1608 r1619  
    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");
  • branches/stable/pbconf/mondorescue.pb

    r1603 r1619  
    66#
    77
    8 # confparam is a hash to ease interface
    9 
    10 # Packager for ChangeLogs
    11 confparam packager = "Bruno Cornec <bruno@mondorescue.org>"
    12 
    13 # If CVS give login method with CVSROOT
    14 #cvsroot = ":pserver:anonymous@linuxcoe.cvs.sourceforge.net:/cvsroot/linuxcoe"
    15 confparam cvsroot = " "
     8projver mondorescue = devel
     9projtag mondorescue = 1
    1610
    1711# Hash of default package/package directory
    1812defpkgdir mondo = mondo
    1913defpkgdir mindi = mindi
     14
     15pkgver nil
     16pkgtag nil
    2017
    2118# Hash of additional package/package directory
     
    3027# Files are mentioned relatively to pbroot
    3128filteredfiles mondo-doc = mondorescue-howto.sgml,mondoarchive.8,mondorestore.8
    32 filteredfiles mindi = rootfs/sbin/init,mindi
     29filteredfiles mindi = rootfs/sbin/init,mindi,install.sh
    3330filteredfiles mondo-website = top.shtml
Note: See TracChangeset for help on using the changeset viewer.