Ignore:
Timestamp:
2012-11-09T03:10:57+01:00 (3 years ago)
Author:
Xuefer
Message:

allow generating for specified version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.