Changeset a3476c5 for BOOK


Ignore:
Timestamp:
Feb 21, 2006, 1:22:48 AM (19 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
82fedc4
Parents:
4815e28
Message:

r779@server (orig r777): jim | 2005-11-30 12:57:07 -0800

r833@server: jim | 2005-11-30 12:56:51 -0800
Added: trouble target to Makefile. Make tracking down validation errors a lot easier.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/Makefile

    r4815e28 ra3476c5  
    5252        echo "Validating $$arch..." ; \
    5353        xmllint --xinclude --noout --nonet --postvalid $(PWD)/$$arch-index.xml
     54endef
     55
     56# TroubleShoot
     57define TROUBLE
     58        echo "Troubleshooting $$arch..." ; \
     59        xmllint --xinclude --nonet --postvalid $(PWD)/$$arch-index.xml > /tmp/dump-$$arch ; \
     60        xmllint --xinclude --noout --nonet --valid /tmp/dump-$$ach ; \
     61        echo "You can now look at /tmp/dump-$$arch to see the errors"
    5462endef
    5563
     
    109117        done
    110118
     119trouble:
     120        @for arch in $(ARCH) ; do \
     121        $(TROUBLE) ; \
     122        done
     123
    111124dump-commands:
    112125        @for arch in $(ARCH) ; do \
     
    119132        done
    120133
    121 .PHONY: lfs toplevel common render nochunk nochunk_render pdf text validate dump-commands download-list
     134.PHONY: lfs toplevel common render nochunk nochunk_render pdf text validate trouble dump-commands download-list
Note: See TracChangeset for help on using the changeset viewer.