- Timestamp:
- 06/19/2016 02:41:18 PM (8 years ago)
- Branches:
- new_features
- Children:
- 04952c63
- Parents:
- 99ba6d8
- Location:
- BLFS
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
BLFS/Makefile
r99ba6d8 r7bd0866 5 5 6 6 # $Id$ 7 8 ifeq ($(REV),) 9 REV = sysv 10 endif 11 12 ifneq ($(REV),sysv) 13 ifneq ($(REV),systemd) 14 $(error The REV variable is $(REV), but can only be 'sysv' or 'systemd') 15 endif 16 endif 7 17 8 18 ifdef V … … 98 108 99 109 $(BLFS_FULL): $(BLFS_XML) $(BLFS_XML)/general.ent $(ALLXML) $(ALLXSL) 110 $(Q)[ -d $(RENDERTMP) ] || mkdir -p $(RENDERTMP) 111 @echo "Adjusting for revision $(REV)..." 112 $(Q)xsltproc --nonet --xinclude \ 113 --stringparam profile.revision $(REV) \ 114 --output $(RENDERTMP)/blfs-prof.xml \ 115 $(BLFS_XML)/stylesheets/lfs-xsl/profile.xsl \ 116 $(BLFS_XML)/index.xml 100 117 @echo "Validating the book..." 101 $(Q)[ -d $(RENDERTMP) ] || mkdir -p $(RENDERTMP) 102 $(Q)xmllint --nonet --noent --xinclude --postvalid \ 103 -o $@ $(BLFS_XML)/index.xml 118 $(Q)xmllint --nonet --noent --postvalid \ 119 -o $@ $(RENDERTMP)/blfs-prof.xml 104 120 105 121 all: update $(BOOK_XML) -
BLFS/gen-makefile.sh
r99ba6d8 r7bd0866 157 157 158 158 if [[ ! -d ${BUILD_SCRIPTS} ]] ; then 159 echo -e "\n\tThe \'${BUILD_SCRIPTS}\' directory has not been found.\n"159 echo -e "\n\tThe '${BUILD_SCRIPTS}' directory has not been found.\n" 160 160 exit 1 161 161 fi 162 162 163 # Let us make a clean base: 163 # Let us make a clean base, but first ensure that we are 164 # not emptying a useful directory. 165 MYDIR=$(pwd) 166 MYDIR=$(basename $MYDIR) 167 if [ "${MYDIR#work}" = "${MYDIR}" ] ; then 168 echo -e \\n\\tDirectory ${BOLD}$MYDIR${OFF} does not begin with \"work\"\\n 169 exit 1 170 fi 171 164 172 rm -rf * 165 173 -
BLFS/gen-special.sh
r99ba6d8 r7bd0866 35 35 36 36 # Packages whose version does not begin with a number 37 EXCEPTIONS=$(grep 'ENTITY.*version[ ]*"[^0-9"&.].*[0-9]' $ BLFS_XML|37 EXCEPTIONS=$(grep 'ENTITY.*version[ ]*"[^0-9"&.].*[0-9]' ${BLFS_DIR}/packages.ent | 38 38 sed 's@^[^"]*"\([^"]*\)".*@\1@') 39 39
Note:
See TracChangeset
for help on using the changeset viewer.