Changeset a16f769 for jhalfs


Ignore:
Timestamp:
10/19/2006 05:27:18 PM (18 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
a96109a
Parents:
7b6ecc5
Message:

Renamed RE_MAKE to REBUILD_MAKEFILE.
When rebuilding the Makefile we need to know the book version.
Added REBUILD_MAKEFILE to configurations validation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • jhalfs

    r7b6ecc5 ra16f769  
    109109GRSECURITY_HOST=${GRSECURITY_HOST:-n}
    110110CUSTOM_TOOLS=${CUSTOM_TOOLS:-n}
    111 RE_MAKE=${RE_MAKE:-n}
     111REBUILD_MAKEFILE=${REBUILD_MAKEFILE:-n}
    112112
    113113# Book surces envars
     
    318318#
    319319
    320 if [[ "$RE_MAKE" = "n" ]] ; then
     320if [[ "$REBUILD_MAKEFILE" = "n" ]] ; then
    321321
    322322  # If $BUILDDIR has subdirectories like tools/ or bin/, stop the run
     
    426426fi
    427427
     428# When regeneration the Makefile we need to know also the canonical book version
     429if [[ "$REBUILD_MAKEFILE" = "y" ]] ; then
     430  case $PROGNAME in
     431    clfs | clfs2 )
     432      VERSION=$(xmllint --noent $JHALFSDIR/$BOOK/prologue/$ARCH/bookinfo.xml 2>/dev/null | grep subtitle | sed -e 's/^.*ion //'  -e 's/<\/.*//') ;;
     433    *)
     434      VERSION=$(xmllint --noent $JHALFSDIR/$BOOK/prologue/bookinfo.xml 2>/dev/null | grep subtitle | sed -e 's/^.*ion //'  -e 's/<\/.*//')  ;;
     435  esac
     436fi
     437
    428438build_Makefile
    429439if [[ "${PROGNAME}" = "lfs" ]]; then
Note: See TracChangeset for help on using the changeset viewer.