Lines Matching refs:target

30 echo "	As part of this process, the script will parse the <target>.spec.in"
31 echo "file and output a <target>.spec file. Since this script isn't smart"
76 for target in $TARGETS; do
77 VERSION=`grep "AC_INIT.*$target" $target/configure.in | cut -f 2 -d ',' | sed -e 's/ //g'`
80 if [ -f $TMPDIR/$target-$VERSION.tar.gz ]; then
81 echo "Target $target-$VERSION.tar.gz already exists, please update the version on"
82 echo "component $target"
85 if [ ! -z "`git tag -l $target-$VERSION`" ]; then
86 echo "A git tag already exists for $target-$VERSION. Please change the version"
87 echo "of $target so a tag replacement won't occur."
94 echo $RELEASE > $TMPDIR/$target.release
98 git tag -s -m "Auto tag by make.dist on release tarball creation" $target-$VERSION
100 git tag -u "$2" -m "Auto tag by make.dist on release tarball creation" $target-$VERSION
103 git tag -a -m "Auto tag by make.dist on release tarball creation" $target-$VERSION
107 git_rev=`./gen_ver.sh $target | sed -e 's/^'$VERSION'_//'`
113 if [ -f $TMPDIR/$target.gitrev ]; then
114 old_rev=`cat $TMPDIR/$target.gitrev`
116 echo $git_rev > $TMPDIR/$target.gitrev
118 echo "No daily build is needed for '$target' ($git_rev)"
121 if [ -f $TMPDIR/$target.release ]; then
122 RELEASE=`cat $TMPDIR/$target.release`
127 echo $RELEASE > $TMPDIR/$target.release
129 cat $target/configure.in \
130 | sed -e '/AC_INIT/s/'$target', .*,/'$target', '$VERSION',/' \
132 diff $target/configure.in configure.in.new > /dev/null \
133 || cat configure.in.new > $target/configure.in
136 TARBALL=$target-$VERSION.tar.gz
140 cd $target && ./autogen.sh && ./configure &&
141 make dist && mv $target-$VERSION.tar.gz $TMPDIR/$TARBALL ) ||
143 git checkout $target/configure.in