From 0055054b55e26c70f316073e319722cd3737dcdc Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Tue, 29 Jul 2008 15:19:34 +0000 Subject: [PATCH] Add some comments to packages/darcs-all --- darcs-all | 2 +- libraries/Makefile | 2 ++ packages | 3 +++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/darcs-all b/darcs-all index d53ed36..0462930 100644 --- a/darcs-all +++ b/darcs-all @@ -75,7 +75,7 @@ sub darcsall { message "== $localpath repo not present; skipping"; } } - elsif (! /^$/) { + elsif (! /^(#.*)?$/) { die "Bad line: $_"; } } diff --git a/libraries/Makefile b/libraries/Makefile index 818fff0..9282d2b 100644 --- a/libraries/Makefile +++ b/libraries/Makefile @@ -39,6 +39,8 @@ TOP=.. include $(TOP)/mk/boilerplate.mk include $(TOP)/mk/cabal-flags.mk +# Any libraries listed here should also be in ../packages + SUBDIRS = ghc-prim $(INTEGER_LIBRARY) base array packedstring SUBDIRS += containers bytestring old-locale old-time filepath directory ifeq "$(GhcLibsWithUnix)" "YES" diff --git a/packages b/packages index 1ab45af..d02ddb1 100644 --- a/packages +++ b/packages @@ -1,3 +1,6 @@ +# Note that when adding libraries to this file, you also need to add +# the library to the SUBDIRS variable in libraries/Makefile so that they +# actually get built utils/hsc2hs hsc2hs libraries/array packages/array libraries/base packages/base -- 1.7.10.4