[project @ 2000-04-07 11:13:37 by simonmar]
authorsimonmar <unknown>
Fri, 7 Apr 2000 11:13:37 +0000 (11:13 +0000)
committersimonmar <unknown>
Fri, 7 Apr 2000 11:13:37 +0000 (11:13 +0000)
Add a wrapper for building the GHC Documentation Set (currently
contains the Users' Guide and the HsLibs documentation).

We can finally have cross references between these docs!  Woo-hoo!
But we still want to build at least HsLibs as a stand-alone book, so
for now we'll only have references from the Users' Guide to the Hslibs
doc, not the other way around.

ghc/docs/set/Makefile [new file with mode: 0644]
ghc/docs/set/set.sgml [new file with mode: 0644]

diff --git a/ghc/docs/set/Makefile b/ghc/docs/set/Makefile
new file mode 100644 (file)
index 0000000..e5e6867
--- /dev/null
@@ -0,0 +1,16 @@
+#-----------------------------------------------------------------------------
+# $Id: Makefile,v 1.1 2000/04/07 11:13:37 simonmar Exp $
+#
+# (c) The GHC Team, 2000
+#
+
+TOP = ../..
+include $(TOP)/mk/boilerplate.mk
+
+ifeq "$(BIN_DIST)" "1"
+install :: html dvi info
+endif
+
+SGML_DOC = set
+
+include $(TOP)/mk/target.mk
diff --git a/ghc/docs/set/set.sgml b/ghc/docs/set/set.sgml
new file mode 100644 (file)
index 0000000..ed7c5e1
--- /dev/null
@@ -0,0 +1,19 @@
+<!DOCTYPE set PUBLIC "-//OASIS//DTD DocBook V3.1//EN" [
+<!ENTITY % ug-ent SYSTEM "../users_guide/ug-ent.sgml">
+<!ENTITY ug-book SYSTEM "../users_guide/ug-book.sgml">
+%ug-ent;
+<!ENTITY % hslibs-ent SYSTEM "../../../hslibs/doc/hslibs-ent.sgml">
+<!ENTITY hslibs-book  SYSTEM "../../../hslibs/doc/hslibs-book.sgml">
+%hslibs-ent;
+]>
+<Set>
+  
+<book>
+&ug-book;
+</book>
+
+<book>
+&hslibs-book;
+</book>
+
+</set>