Now LFS, CLFS, and HLFS have a packages.ent file.

This commit is contained in:
Manuel Canales Esparcia 2006-05-15 18:03:09 +00:00
parent a0f0bee1e4
commit 0596057894

View file

@ -612,31 +612,12 @@ extract_commands() { #
# Create the packages file. We need it for proper Makefile creation # Create the packages file. We need it for proper Makefile creation
rm -f packages rm -f packages
case "${PROGNAME}" in if [[ "${PROGNAME}" != "blfs" ]] ; then
clfs)
echo -n "Creating <${PROGNAME}> specific packages file" echo -n "Creating <${PROGNAME}> specific packages file"
grep "\-version " $BOOK/packages.ent | sed -e 's@<!ENTITY @@' \ grep "\-version " $BOOK/packages.ent | sed -e 's@<!ENTITY @@' \
-e 's@">@"@' \ -e 's@">@"@' > packages
-e '/generic/d' > packages
echo " ...OK" echo " ...OK"
;; fi
hlfs)
echo -n "Creating <${PROGNAME}> specific packages file"
grep "\-version" $BOOK/general.ent | sed -e 's@<!ENTITY @@' \
-e 's@">@"@' \
-e '/generic/d' >> packages
echo " ...OK"
;;
lfs)
echo -n "Creating <${PROGNAME}> specific packages file"
grep "\-version" $BOOK/general.ent | sed -e 's@<!ENTITY @@' \
-e 's@">@"@' \
-e '/generic/d' >> packages
echo " ...OK"
;;
esac
# Done. Moving on... # Done. Moving on...
get_sources get_sources