PKGBUILDs/community/ghc/ghc-rebuild-doc-index.hook

15 lines
377 B
Plaintext
Raw Normal View History

2016-06-11 14:12:05 +00:00
[Trigger]
Type = File
Operation = Install
Operation = Upgrade
Operation = Remove
Target = usr/share/doc/ghc/html/libraries/*
Target = !usr/share/doc/ghc/html/libraries/index.html
[Action]
Description = Rebuilding Haskell doc index...
When = PostTransaction
Exec = /bin/bash -c "cd /usr/share/doc/ghc/html/libraries && ./gen_contents_index"
2017-09-16 18:18:41 +00:00
Depends = ghc-static
2016-06-11 14:12:05 +00:00
Depends = bash