Changeset 22bcbdd for Makefile


Ignore:
Timestamp:
05/07/2013 06:48:07 PM (11 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 7.4, 7.5, 7.6, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
3135ea6
Parents:
7789a6a
Message:

Touch up Makefile

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10267 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r7789a6a r22bcbdd  
    4040        done;
    4141
    42         $(Q)$(MAKE) wget-list
     42        $(Q)$(MAKE) $(BASEDIR)/wget-list $(BASEDIR)/md5sums
    4343
    4444pdf: validate
     
    7272        $(Q)tidy -config tidy.conf $(BASEDIR)/$(NOCHUNKS_OUTPUT) || true
    7373        @echo "Running obfuscate.sh..."
    74         $(Q)bash obfuscate.sh $(BASEDIR)/$(NOCHUNKS_OUTPUT)
    75         $(Q)sed -i -e "s@text/html@application/xhtml+xml@g"  \
    76           $(BASEDIR)/$(NOCHUNKS_OUTPUT)
    77         $(Q)sed -i -e "s@../wget-list@wget-list@"  \
    78           $(BASEDIR)/$(NOCHUNKS_OUTPUT)
    79         $(Q)$(MAKE) wget-list
     74        $(Q)bash obfuscate.sh                                $(BASEDIR)/$(NOCHUNKS_OUTPUT)
     75        $(Q)sed -i -e "s@text/html@application/xhtml+xml@g"  $(BASEDIR)/$(NOCHUNKS_OUTPUT)
     76        $(Q)sed -i -e "s@../wget-list@wget-list@"            $(BASEDIR)/$(NOCHUNKS_OUTPUT)
     77        $(Q)$(MAKE) $(BASEDIR)/wget-list $(BASEDIR)/md5sums
    8078
    8179tmpdir:
     
    9896        @echo "Generating profiled XML for XHTML..."
    9997        $(Q)xsltproc --nonet --stringparam profile.condition html \
    100           --output $(RENDERTMP)/lfs-html.xml stylesheets/lfs-xsl/profile.xsl \
    101           $(RENDERTMP)/lfs-full.xml
     98            --output $(RENDERTMP)/lfs-html.xml stylesheets/lfs-xsl/profile.xsl \
     99            $(RENDERTMP)/lfs-full.xml
    102100
    103 wget-list:
     101$(BASEDIR)/wget-list: stylesheets/wget-list.xsl chapter03/chapter03.xml packages.ent
    104102        @echo "Generating wget list..."
    105103        $(Q)mkdir -p $(BASEDIR)
    106104        $(Q)xsltproc --xinclude --nonet --output $(BASEDIR)/wget-list \
    107           stylesheets/wget-list.xsl chapter03/chapter03.xml
     105            stylesheets/wget-list.xsl chapter03/chapter03.xml
    108106
    109 md5sums:
     107$(BASEDIR)/md5sums: stylesheets/wget-list.xsl chapter03/chapter03.xml packages.ent
    110108        @echo "Generating md5sum file..."
    111109        $(Q)mkdir -p $(BASEDIR)
    112110        $(Q)xsltproc --xinclude --nonet --output $(BASEDIR)/md5sums \
    113           stylesheets/md5sum.xsl chapter03/chapter03.xml
    114         $(Q)sed -i -e "s/BOOTSCRIPTS-MD5SUM/$(shell md5sum lfs-bootscripts*.tar.bz2 | cut -d' ' -f1)/" \
    115       $(BASEDIR)/md5sums
    116 
    117 #$(Q)sed -i -e "s/UDEV-MD5SUM/$(shell md5sum udev-config*.tar.bz2 | cut -d' ' -f1)/" \
    118 #   $(BASEDIR)/md5sums
    119 
     111            stylesheets/md5sum.xsl chapter03/chapter03.xml
     112        $(Q)sed -i -e \
     113       "s/BOOTSCRIPTS-MD5SUM/$(shell md5sum lfs-bootscripts*.tar.bz2 | cut -d' ' -f1)/" \
     114       $(BASEDIR)/md5sums
    120115
    121116dump-commands: validate
     
    125120
    126121
    127 all: lfs nochunks pdf dump-commands md5sums
     122all: lfs nochunks pdf dump-commands
    128123
    129 .PHONY : all dump-commands lfs nochunks pdf profile-html tmpdir validate \
    130          validate wget-list maketar md5sums
     124.PHONY : all dump-commands lfs nochunks pdf profile-html tmpdir validate
     125
Note: See TracChangeset for help on using the changeset viewer.