summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--INSTALL12
-rw-r--r--pandoc.cabal9
2 files changed, 7 insertions, 14 deletions
diff --git a/INSTALL b/INSTALL
index 51b5e4c01..653192dcd 100644
--- a/INSTALL
+++ b/INSTALL
@@ -68,19 +68,19 @@ you will need [zip-archive] and (if you want syntax highlighting)
preceded by a `-` (to force the flag to `false`), and separated
by spaces. Pandoc's flags include:
- - `library`: build the library (default yes)
- `executable`: build the pandoc executable (default yes)
- - `wrappers`: build the wrappers `markdown2pdf` and `hsmarkdown`
- (default yes)
+ - `wrappers`: build the wrapper `markdown2pdf` (default yes)
- `highlighting`: compile with syntax highlighting support (increases
the size of the executable) (default no)
+ - `citeproc`: compile with bibliographic support using `citeproc-hs`
+ (default no)
So, for example,
- --flags="-library highlighting"
+ --flags="-executable -wrappers highlighting"
- tells Cabal to build the executable but not the library, and to
- compile with syntax highlighting support.
+ tells Cabal to build the library but not the executables,
+ and to compile with syntax highlighting support.
3. Build:
diff --git a/pandoc.cabal b/pandoc.cabal
index ba96b7204..025b72c43 100644
--- a/pandoc.cabal
+++ b/pandoc.cabal
@@ -131,9 +131,6 @@ Flag executable
Flag wrappers
Description: Build the wrappers (markdown2pdf).
Default: True
-Flag library
- Description: Build the pandoc library.
- Default: True
Flag citeproc
Description: Compile in support for citeproc-hs bibliographic formatting.
Default: False
@@ -192,11 +189,7 @@ Library
else
Ghc-Options: -O2 -Wall
Ghc-Prof-Options: -auto-all -caf-all
-
- if flag(library)
- Buildable: True
- else
- Buildable: False
+ Buildable: True
Executable pandoc
Hs-Source-Dirs: src