archrelease: copy trunk to community-x86_64
[ArchLinux/community.git] / ghc / trunk / ghc-rebuild-doc-index.hook
blob5d2afbf8951841ed361edea0fed687b61c9dd73c
1 [Trigger]
2 Type = Path
3 Operation = Install
4 Operation = Upgrade
5 Operation = Remove
6 Target = usr/share/doc/ghc/html/libraries/*
7 Target = !usr/share/doc/ghc/html/libraries/index.html
9 [Action]
10 Description = Rebuilding Haskell doc index...
11 When = PostTransaction
12 Exec = /bin/bash -c "cd /usr/share/doc/ghc/html/libraries && ./gen_contents_index"
13 Depends = ghc-static
14 Depends = bash