Changeset fbb6b78
- Timestamp:
- 09/12/2005 06:23:41 PM (19 years ago)
- Branches:
- 0.2, 1.0, 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
- Children:
- 557fe91, 903abce
- Parents:
- 9e406b5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
jhalfs
r9e406b5 rfbb6b78 1 #!/bin/sh 1 #!/bin/sh 2 2 3 3 version=" … … 113 113 exit 1" 114 114 cd $JHALFSDIR 115 115 116 116 # Test to make sure the LFS version is set 117 117 if [ -z $LFSVRS ] ; then LFSVRS=development ; fi … … 132 132 fi 133 133 else 134 if [ $LFSVRS = development ] ; then 134 if [ $LFSVRS = development ] ; then 135 135 svn co $SVN/LFS/trunk/BOOK lfs-$LFSVRS >>$JHALFSDIR/$LOG 2>&1 136 136 else … … 152 152 echo -n "Extracting commands... " 153 153 154 # Use Man eul's stylesheet to dump the commands in text form from the LFS book.154 # Use Manuel's stylesheet to dump the commands in text form from the LFS book. 155 155 xsltproc -v --nonet --xinclude -o ./commands/ \ 156 156 lfs-$LFSVRS/stylesheets/dump-commands.xsl lfs-$LFSVRS/index.xml \ … … 237 237 for i in `cat $JHALFSDIR/packages` ; do 238 238 PKG=`echo $i | sed 's/-version.*//'` 239 239 240 240 # Someone used some silly entities right next to the valid package entities. 241 241 if [ "$PKG" = "expect-lib" -o "$PKG" = "linux-dl" ] ; then continue ; fi … … 251 251 PATCH=`echo $patch | sed 's@&'$PKG'-version;@'$VRS'@'` 252 252 download $PKG $PATCH 253 done 253 done 254 254 done 255 255 } … … 258 258 echo -n "Creating Makefile... " 259 259 cd $JHALFSDIR/commands 260 260 261 261 # Start with a clean Makefile.tmp file 262 262 >$MKFILE.tmp … … 266 266 # of the targets in the Makefile 267 267 list="$list $i" 268 268 269 269 # Grab the name of the target (minus the -pass1 or -pass2 in the case of gcc 270 270 # and binutils in chapter 5) … … 307 307 sed -i -e 's|\$\$LFS|\$(LFS)|' -e '/^\tcat/,/^\tEOF/s/ \&\& \\//' $MKFILE.tmp 308 308 309 # Stick a variable and some defines at the top of the real makefile 309 # Stick a variable and some defines at the top of the real makefile 310 310 echo "export SRC := /sources" > $MKFILE 311 311 echo "export LFS := $BUILDDIR" >> $MKFILE
Note:
See TracChangeset
for help on using the changeset viewer.