# Makefile for html test suite
# $Id: Makefile,v 1.3 1994/04/30 03:17:48 connolly Exp $
#
NSGMLS = nsgmls
DECL = html.decl
DOCTYPE = doctype.sgml
CASES = \
*.html \
ncsa/*.html \
misc/*.html \
forms/*.html \
cern/*.html \
latex/*.html \
implementors-guide/*.html
test: documents instances
documents:
for h in $(CASES); do \
grep -i '^/dev/null&& \
(echo $$h; \
$(NSGMLS) -m catalog -s -e $(DECL) $$h;) \
done; exit 0
instances:
for h in $(CASES); do \
grep -i '^/dev/null || \
(echo $$h; \
$(NSGMLS) -m catalog -s -e $(DECL) $(DOCTYPE) $$h ) \
done; exit 0