Changeset 0238e7e for Makefile


Ignore:
Timestamp:
04/08/2008 05:32:17 PM (16 years ago)
Author:
Dan Nichilson <dnicholson@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
5d463a51
Parents:
73fb1e74
Message:

Reorganize to generate patches script and then strip list with awk

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@7361 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r73fb1e74 r0238e7e  
    112112          $(RENDERTMP)/blfs-full.xml
    113113
    114 blfs-patch-list: $(RENDERTMP)/blfs-full.xml
    115         @echo "Generating blfs-patch-list..."
    116         $(Q)xsltproc --nonet --output $(RENDERTMP)/blfs-patch-list \
     114blfs-patch-list: blfs-patches.sh
     115        @echo "Generating blfs patch list..."
     116        $(Q)awk '{if ($$1 == "copy") {sub(/.*\//, "", $$2); print $$2}}' \
     117          blfs-patches.sh > blfs-patch-list
     118
     119blfs-patches.sh: $(RENDERTMP)/blfs-full.xml
     120        @echo "Generating blfs patch script..."
     121        $(Q)xsltproc --nonet --output blfs-patches.sh \
    117122          stylesheets/patcheslist.xsl $(RENDERTMP)/blfs-full.xml
    118         $(Q)sed -e "s|^.*/||" $(RENDERTMP)/blfs-patch-list > $(RENDERTMP)/blfs-patches
    119         $(Q)sort $(RENDERTMP)/blfs-patches > blfs-patch-list
    120123
    121124wget-list: $(BASEDIR)/wget-list
Note: See TracChangeset for help on using the changeset viewer.