mirror of
https://github.com/simonmichael/hledger.git
synced 2024-12-29 13:22:27 +03:00
shake: comments
This commit is contained in:
parent
e4cff6a30f
commit
8a98e0af20
4
Shake.hs
4
Shake.hs
@ -161,11 +161,11 @@ main = do
|
||||
"-o" out
|
||||
|
||||
-- render man page nroffs as fixed-width text, for embedding
|
||||
let txtmanpages = [m <.> "txt" | m <- manpages] -- hledger/doc/hledger.1.txt, hledger-lib/doc/journal.5.txt
|
||||
let txtmanpages = [m <.> "txt" | m <- manpages] -- hledger/doc/hledger.1.txt, hledger-lib/doc/hledger_journal.5.txt
|
||||
phony "txtmanpages" $ need txtmanpages
|
||||
txtmanpages |%> \out -> do
|
||||
need manpages
|
||||
let nroffsrc = dropExtension out -- hledger/doc/hledger.1
|
||||
let nroffsrc = dropExtension out -- hledger/doc/hledger.1, hledger-lib/doc/hledger_journal.5
|
||||
cmd Shell nroff "-man" nroffsrc ">" out
|
||||
|
||||
-- adjust man page mds for (hakyll) web output, with pandoc
|
||||
|
Loading…
Reference in New Issue
Block a user