Changeset db8d0c3 for Makefile


Ignore:
Timestamp:
Feb 21, 2006, 1:22:48 AM (17 years ago)
Author:
Jim Gifford <clfs@…>
Children:
b8fddc7
Parents:
b66e30f
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
  • Makefile

    rb66e30f rdb8d0c3  
    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.