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
|
"-o" out
|
||||||
|
|
||||||
-- render man page nroffs as fixed-width text, for embedding
|
-- 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
|
phony "txtmanpages" $ need txtmanpages
|
||||||
txtmanpages |%> \out -> do
|
txtmanpages |%> \out -> do
|
||||||
need manpages
|
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
|
cmd Shell nroff "-man" nroffsrc ">" out
|
||||||
|
|
||||||
-- adjust man page mds for (hakyll) web output, with pandoc
|
-- adjust man page mds for (hakyll) web output, with pandoc
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user