Changeset 1167


Ignore:
Timestamp:
2012-11-09T03:10:57+01:00 (18 months ago)
Author:
moo
Message:

allow generating for specified version

Location:
autobuild/scripts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • autobuild/scripts/bootstrap

    r905 r1167  
    11#!/bin/sh 
    2 exec scripts/generateMakefile 
     2exec scripts/generateMakefile "$@" 
  • autobuild/scripts/generateMakefile

    r970 r1167  
    134134    begin "Generating svn update rule for $ext-$extVersion"; { 
    135135        rule update update-$ext 
    136         foreachExtVersion forExtVersion 
     136        $@ forExtVersion 
    137137    }; end 
    138     foreachExtVersion foreachPhpVersion foreachPhpReleaseVersion ruleBuild 
     138    $@ foreachPhpVersion foreachPhpReleaseVersion ruleBuild 
    139139} 
    140140 
    141 foreachExt forExt 
     141if [[ $# -gt 0 ]]; then 
     142    loadExt $1 
     143    shift 
     144    if [[ $# -gt 0 ]]; then 
     145        loadExtVersion $1 
     146        forExt 
     147    else 
     148        forExt foreachExtVersion 
     149    fi 
     150else 
     151    foreachExt forExt forExtVersion 
     152fi 
    142153 
    143154rule "package" "all" "scripts/updatepackage" 
Note: See TracChangeset for help on using the changeset viewer.