Changeset 6328b89


Ignore:
Timestamp:
04/15/2008 05:06:28 AM (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:
81066706
Parents:
c91c114
Message:

Use all *.xml and *.xsl files as prereqs for blfs-full.xml, too

Thanks to Alexander for pointing out a much easier way to do this. I
think this should take care of nearly all the corner cases and allow
re-rendering to only occur when something has actually changed.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    rc91c114 r6328b89  
    1313PDF_OUTPUT = BLFS-BOOK.pdf
    1414NOCHUNKS_OUTPUT = BLFS-BOOK.html
     15
     16ALLXML := $(filter-out $(RENDERTMP)/%, \
     17        $(wildcard *.xml */*.xml */*/*.xml */*/*/*.xml */*/*/*/*.xml))
     18ALLXSL := $(filter-out $(RENDERTMP)/%, \
     19        $(wildcard *.xsl */*.xsl */*/*.xsl */*/*/*.xsl */*/*/*/*.xsl))
    1520
    1621ifdef V
     
    98103
    99104validxml: $(RENDERTMP)/blfs-full.xml
    100 $(RENDERTMP)/blfs-full.xml: index.xml general.ent
     105$(RENDERTMP)/blfs-full.xml: general.ent $(ALLXML) $(ALLXSL)
    101106        @echo "Validating the book..."
    102107        $(Q)[ -d $(RENDERTMP) ] || mkdir -p $(RENDERTMP)
Note: See TracChangeset for help on using the changeset viewer.