Don't copy some files when building BLFS.

Fixed BLFS Makefile generation bug.
This commit is contained in:
Manuel Canales Esparcia 2006-05-07 15:48:08 +00:00
parent 45af0b4f13
commit 8d0fa355c9
2 changed files with 6 additions and 4 deletions

View file

@ -91,7 +91,7 @@ EOF
# Include a touch of the target name so make can check # Include a touch of the target name so make can check
# if it's already been made. # if it's already been made.
echo -e '\t@touch $@' >> $MKFILE.tmp echo -e '\t@touch $@' >> $MKFILE
# #
#--------------------------------------------------------------------# #--------------------------------------------------------------------#
# >>>>>>>> END OF Makefile ENTRY <<<<<<<< # # >>>>>>>> END OF Makefile ENTRY <<<<<<<< #

View file

@ -482,8 +482,10 @@ if [[ "$PWD" != "$JHALFSDIR" ]]; then
cp $FILES $JHALFSDIR/ cp $FILES $JHALFSDIR/
popd 1> /dev/null popd 1> /dev/null
fi fi
if [[ "$PROGNAME" != "blfs" ]]; then
[[ "$REPORT" = "1" ]] && cp $COMMON_DIR/create-sbu_du-report.sh $JHALFSDIR/ [[ "$REPORT" = "1" ]] && cp $COMMON_DIR/create-sbu_du-report.sh $JHALFSDIR/
[[ "$GETPKG" = "1" ]] && cp $COMMON_DIR/urls.xsl $JHALFSDIR/ [[ "$GETPKG" = "1" ]] && cp $COMMON_DIR/urls.xsl $JHALFSDIR/
fi
sed 's,FAKEDIR,'$BOOK',' $PACKAGE_DIR/$XSL > $JHALFSDIR/${XSL} sed 's,FAKEDIR,'$BOOK',' $PACKAGE_DIR/$XSL > $JHALFSDIR/${XSL}
export XSL=$JHALFSDIR/${XSL} export XSL=$JHALFSDIR/${XSL}
fi fi
@ -494,7 +496,7 @@ fi
# After be sure that all look sane and if REPORT=1, dump the settings to a file # After be sure that all look sane and if REPORT=1, dump the settings to a file
# This file will be used to create the REPORT header # This file will be used to create the REPORT header
[[ "$REPORT" = "1" ]] && validate_config > $JHALFSDIR/jhalfs.config [[ "$PROGNAME" != "blfs" ]] && [[ "$REPORT" = "1" ]] && validate_config > $JHALFSDIR/jhalfs.config
>$LOGDIR/$LOG >$LOGDIR/$LOG