"using the file extension."
#else
_ -> error $ "citeproc: Bibliography format not supported.\n" ++
#endif
data BibFormat
where go "biblatex" = Just BibLatex
go "bib" = Just BibLatex
go "bibtex" = Just Bibtex
#ifdef USE_BIBUTILS
go "ris" = Just Ris
go "endnote" = Just Endnote
go "enl" = Just Endnote
go "isi" = Just Isi
go "medline" = Just Medline
go "copac" = Just Copac
go "json" = Just Json
go _ = Nothing
executable pandoc-citeproc
main-is: pandoc-citeproc.hs
hs-source-dirs: .
default-extensions: CPP
if flag(bibutils)
build-depends: hs-bibutils >= 0.3
cpp-options: -DUSE_BIBUTILS
ghc-options: -funbox-strict-fields -Wall
ghc-prof-options: -prof -auto-all
build-depends: base >= 4, pandoc-citeproc, pandoc-types >= 1.12.3, aeson,