git » ghc-bin.git » main » tree

[main] / ghc-rebuild-doc-index.hook

[Trigger]
Type = Path
Operation = Install
Operation = Upgrade
Operation = Remove
Target = usr/share/doc/ghc-9.2.8/html/libraries/*
Target = !usr/share/doc/ghc-9.2.8/html/libraries/index.html

[Action]
Description = Rebuilding Haskell doc index...
When = PostTransaction
Exec = /bin/bash -c "cd /usr/share/doc/ghc-9.2.8/html/libraries && ./gen_contents_index"
Depends = ghc-static
Depends = bash