Update man location

This commit is contained in:
Spencer Janssen 2007-12-05 04:39:13 +00:00
parent 6908189698
commit c8f16a85cf

View File

@ -42,6 +42,6 @@ replace :: Eq a => a -> a -> [a] -> [a]
replace x y = map (\a -> if a == x then y else a) replace x y = map (\a -> if a == x then y else a)
main = do main = do
troffBindings <- (concatMap troff . allBindings) `liftM` readFile "./Config.hs" troffBindings <- (concatMap troff . allBindings) `liftM` readFile "./XMonad/Config.hs"
let sed = unlines . replace "___KEYBINDINGS___" troffBindings . lines let sed = unlines . replace "___KEYBINDINGS___" troffBindings . lines
readFile "./man/xmonad.1.in" >>= return . sed >>= writeFile "./man/xmonad.1" readFile "./man/xmonad.1.in" >>= return . sed >>= writeFile "./man/xmonad.1"