Small cleanups in Makefile.

This commit is contained in:
John MacFarlane 2019-09-05 17:34:47 -07:00
parent 4559bc257b
commit 1c35167c3a
3 changed files with 7 additions and 8 deletions

View file

@ -210,10 +210,9 @@ With stack:
stack bench
You can also build pandoc with the `weigh-pandoc` flag and
run `weigh-pandoc` to get some statistics on memory usage.
(Eventually this should be incorporated into the benchmark
suite.)
You can also build `weigh-pandoc` (`stack build pandoc:weigh-pandoc`)
to get some statistics on memory usage. (Eventually this should
be incorporated into the benchmark suite.)
Using the REPL
--------------

View file

@ -4,10 +4,6 @@ SOURCEFILES?=$(shell find pandoc.hs src test -name '*.hs')
BRANCH?=master
RESOLVER?=lts-13
GHCOPTS=-fdiagnostics-color=always
# Later:
# -Wpartial-fields (currently used in Powerpoint writer)
# -Wmissing-export-lists (currently some Odt modules violate this)
# -Wredundant-constraints (problematic if we want to support older base)
WEBSITE=../../web/pandoc.org
quick:

View file

@ -448,6 +448,10 @@ library
-Wincomplete-record-updates
-Wnoncanonical-monad-instances
-Wnoncanonical-monadfail-instances
-- Later:
-- -Wpartial-fields (currently used in Powerpoint writer)
-- -Wmissing-export-lists (currently some Odt modules violate this)
-- -Wredundant-constraints (problematic if we want to support older base)
if impl(ghc >= 8.2)
ghc-options: -Wcpp-undef
if impl(ghc >= 8.4)