git.iko.soy/typeable/pandoc
on master help sign in
pandoc.cabal: use cpphs if embed_data_files and darwin.
7b62733John MacFarlane
pandoc.cabal+3
@@ -320,6 +320,9 @@ Library
320 cpp-options: -DEMBED_DATA_FILES
320 cpp-options: -DEMBED_DATA_FILES
321 Build-Tools: hsb2hs >= 0.3.1
321 Build-Tools: hsb2hs >= 0.3.1
322 other-modules: Text.Pandoc.Data
322 other-modules: Text.Pandoc.Data
323+ if os(darwin)
324+ Build-Tools: cpphs >= 1.19
325+ ghc-options: -pgmP cpphs -optP --cpp
323 if os(windows)
326 if os(windows)
324 Cpp-options: -D_WINDOWS
327 Cpp-options: -D_WINDOWS
325 Ghc-Options: -Wall -fno-warn-unused-do-bind
328 Ghc-Options: -Wall -fno-warn-unused-do-bind