From: simonm Date: Mon, 14 Sep 1998 15:49:19 +0000 (+0000) Subject: [project @ 1998-09-14 15:49:19 by simonm] X-Git-Tag: Approx_2487_patches~264 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=dab8885a67c094c89aadef672e2285b4f02afd5b;p=ghc-hetmet.git [project @ 1998-09-14 15:49:19 by simonm] quick fix for multi-file sgml docs. --- diff --git a/mk/target.mk b/mk/target.mk index 86b85cb..cbd0308 100644 --- a/mk/target.mk +++ b/mk/target.mk @@ -876,13 +876,17 @@ SGML_TEXT = $(SGML_DOC).txt else # no SGML_DOC +ifeq "$(VSGML_SRCS)" "" VSGML_SRCS = $(wildcard *.vsgml) +endif +ifeq "$(SGML_SRCS)" "" ifneq "$(VSGML_SRCS)" "" SGML_SRCS = $(addsuffix .sgml, $(basename $(VSGML_SRCS))) else SGML_SRCS = $(wildcard *.sgml) endif +endif SGML_DVI = $(addsuffix .dvi, $(basename $(SGML_SRCS))) SGML_PS = $(addsuffix .ps, $(basename $(SGML_SRCS)))