From 1682eab7cf9d0dcc2ee0076432e65c8e44c2441a Mon Sep 17 00:00:00 2001
From: panne <unknown>
Date: Sat, 8 Jul 2000 23:08:02 +0000
Subject: [PATCH] [project @ 2000-07-08 23:08:02 by panne] Synched section on
 packages with new generalized package file format

---
 ghc/docs/users_guide/using.sgml | 33 +++++++++++++++++----------------
 1 file changed, 17 insertions(+), 16 deletions(-)

diff --git a/ghc/docs/users_guide/using.sgml b/ghc/docs/users_guide/using.sgml
index 68b556a58688..bd0ae507e6a7 100644
--- a/ghc/docs/users_guide/using.sgml
+++ b/ghc/docs/users_guide/using.sgml
@@ -1606,12 +1606,12 @@ construction of interface files, is (allegedly) in the works.
         import_dirs    =  ["/usr/local/lib/imports/mypkg"],
 	library_dirs   =  ["/usr/local/lib"],
 	libraries      =  ["HSmypkg", "HSmypkg_cbits"],
-	include_dir    =  "",
-	c_include      =  "HsMyPkg.h",
+	include_dirs   =  [],
+	c_includes     =  ["HsMyPkg.h"],
 	package_deps   =  ["text", "data"],
-	extra_ghc_opts =  "",
-	extra_cc_opts  =  "",
-	extra_ld_opts  =  "-lmy_clib"
+	extra_ghc_opts =  [],
+	extra_cc_opts  =  [],
+	extra_ld_opts  =  ["-lmy_clib"]
        }
  )
 </screen>
@@ -1659,25 +1659,26 @@ construction of interface files, is (allegedly) in the works.
 	</varlistentry>
 
 	<varlistentry>
-	  <term><literal>include_dir</literal></term>
-	  <indexterm><primary><literal>include_dir</literal></primary>
+	  <term><literal>include_dirs</literal></term>
+	  <indexterm><primary><literal>include_dirs</literal></primary>
 	    <secondary>package specification</secondary></indexterm>
 	  <listitem>
-	    <para>A directory containing C includes for this package
-	    (may be the empty string).</para>
+	    <para>A list of directories containing C includes for this
+	    package (maybe the empty list).</para>
 	  </listitem>
 	</varlistentry>
 
 	<varlistentry>
-	  <term><literal>c_include</literal></term>
-	  <indexterm><primary><literal>c_include</literal></primary>
+	  <term><literal>c_includes</literal></term>
+	  <indexterm><primary><literal>c_includes</literal></primary>
 	    <secondary>package specification</secondary></indexterm>
 	  <listitem>
-	    <para>A file to include for via-C compilations using this
-	    package.  Typically this include file will contain
-	    function prototypes for any C functions used in the
-	    package, in case they end up being called as a result of
-	    Haskell functions from the package being inlined.</para>
+	    <para>A list of files to include for via-C compilations
+	    using this package.  Typically this include file will
+	    contain function prototypes for any C functions used in
+	    the package, in case they end up being called as a result
+	    of Haskell functions from the package being
+	    inlined.</para>
 	  </listitem>
 	</varlistentry>
 
-- 
GitLab