[Pkg-haskell-commits] darcs: haskell-hoogle: collect libghc-xxx-doc txt files
kiwamu at debian.or.jp
kiwamu at debian.or.jp
Tue Sep 11 12:26:59 UTC 2012
Tue Sep 11 12:24:12 UTC 2012 kiwamu at debian.or.jp
* collect libghc-xxx-doc txt files
Ignore-this: a306853575e405173a6a80f514a7032b
M ./files_hoogle/update-hoogle -4 +5
Tue Sep 11 12:24:12 UTC 2012 kiwamu at debian.or.jp
* collect libghc-xxx-doc txt files
Ignore-this: a306853575e405173a6a80f514a7032b
diff -rN -u old-haskell-hoogle//files_hoogle/update-hoogle new-haskell-hoogle//files_hoogle/update-hoogle
--- old-haskell-hoogle//files_hoogle/update-hoogle 2012-09-11 12:26:58.696823205 +0000
+++ new-haskell-hoogle//files_hoogle/update-hoogle 2012-09-11 12:26:58.712825500 +0000
@@ -15,16 +15,17 @@
# new database
$HOOGLE data keyword
-# collect txt files (ghc-doc)
+echo "Collect txt files on ghc-doc"
find /usr/share/doc/ghc-doc/html/libraries/*/ -name "*.txt*" | \
/usr/share/hoogle/tool/haddock_collect.hs $URLPREFIX $DATABASE_DIR/
-# collect txt files (libghc-*)
-# -- TODO --
+echo "Collect txt files on libghc-*-doc"
+find /usr/share/doc/libghc-*-doc/html/ -name "*.txt*" | \
+ /usr/share/hoogle/tool/haddock_collect.hs $URLPREFIX $DATABASE_DIR/
# convert
for i in $DATABASE_DIR/*.txt; do
- echo convert $i
+ echo "Convert $i"
$HOOGLE convert $i >/dev/null 2>&1
done
More information about the Pkg-haskell-commits
mailing list