Teach darcs-all about absolute repos, and add haddock to packages
authorIan Lynagh <igloo@earth.li>
Wed, 13 Aug 2008 22:01:58 +0000 (22:01 +0000)
committerIan Lynagh <igloo@earth.li>
Wed, 13 Aug 2008 22:01:58 +0000 (22:01 +0000)
darcs-all
packages

index 483cd9d..5e78729 100644 (file)
--- a/darcs-all
+++ b/darcs-all
@@ -114,7 +114,12 @@ sub darcsget {
                 $path = "$defaultrepo_base/$localpath";
             }
             else {
-                $path = "$defaultrepo_base/$remotepath";
+                if ($remotepath =~ /^http:/) {
+                    $path = $remotepath;
+                }
+                else {
+                    $path = "$defaultrepo_base/$remotepath";
+                }
             }
 
             if (($tag eq "") || defined($tags{$tag})) {
index 870ed30..5c4d978 100644 (file)
--- a/packages
+++ b/packages
@@ -3,6 +3,7 @@
 # actually get built
 .                                       ghc                             git
 utils/hsc2hs                            hsc2hs                          darcs
+utils/haddock                           http://code.haskell.org/haddock darcs
 libraries/array                         packages/array                  darcs
 libraries/base                          packages/base                   darcs
 libraries/base3-compat                  packages/base3-compat           darcs