From: mthomas Date: Tue, 16 Mar 2004 05:05:31 +0000 (+0000) Subject: [project @ 2004-03-16 05:05:31 by mthomas] X-Git-Tag: Initial_conversion_from_CVS_complete~1966 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=52ab2a3d2f5f005308c970ba6fb882cf2502e391 [project @ 2004-03-16 05:05:31 by mthomas] Retrofit Simon's DOCBOOK_CATALOG fix for platforms without DOCBOOK. --- diff --git a/Makefile b/Makefile index 99e5988..b6b2357 100644 --- a/Makefile +++ b/Makefile @@ -261,6 +261,7 @@ BINDIST_DOC_WAYS = html ps # BINDIST_DOC_WAYS = binary-dist :: +ifneq "$(DOCBOOK_CATALOG)" "" @for i in $(BIN_DIST_DIRS); do \ if test -d "$$i"; then \ $(MAKE) -C $$i $(MFLAGS) $(BINDIST_DOC_WAYS); \ @@ -280,6 +281,7 @@ binary-dist :: datadir=$(BIN_DIST_TMPDIR)/$(BIN_DIST_NAME)/share; \ fi \ done +endif # Rename scripts to $i.prl and $i.sh where necessary. # ToDo: do this in a cleaner way...