aboutsummaryrefslogtreecommitdiff
path: root/Setup.hs
diff options
context:
space:
mode:
authorGravatar Nathan Collins <nathan.collins@gmail.com>2012-06-07 19:01:49 -0700
committerGravatar Nathan Collins <nathan.collins@gmail.com>2012-06-07 19:01:49 -0700
commit817a42056b228bccae2c3111214944bde1286325 (patch)
treeaec4356bed59ce7305406ba92c892f618290be47 /Setup.hs
parent6f17b2fb39f389b01accee420548b54e22f41e0a (diff)
Add note about lhs2tex's man page installation.
Diffstat (limited to 'Setup.hs')
-rw-r--r--Setup.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/Setup.hs b/Setup.hs
index c722077eb..9d2162f47 100644
--- a/Setup.hs
+++ b/Setup.hs
@@ -35,6 +35,10 @@ install pkg_descr lbi userhooks flags = do
-- Based on pandoc's 'Setup.installManpages' and 'postInst' hook.
-- Would be easier to just use 'rawSystem' as above.
--
+-- XXX: lhs2tex installs man pages with the 'postCopy' hook.
+-- I chose 'postInst'. Pandoc uses both :P So, probably
+-- to use the 'postCopy' hook.
+--
-- XXX: fix tabs!
installManpages :: InstallFlags -> PackageDescription -> LocalBuildInfo -> IO ()
installManpages flags pkg lbi =