aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2013-01-23 19:23:05 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2013-01-23 19:26:39 -0800
commit8d5d490d7a66df4402c9374a480e686e92086d56 (patch)
treec53bbcf0e5abd9f0c12f31ee3b0c3351f613d597 /Makefile
parentfe337b07f7c0a15ac792275ed8fb88d3fa5247a3 (diff)
downloadpandoc-8d5d490d7a66df4402c9374a480e686e92086d56.tar.gz
Makefile: Added sdist.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7371c2c13..5d1e3680a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
# This Makefile is for development only. It requires cabal-dev.
# To get started, do 'make prep' and then 'make' or 'make quick'.
-.PHONY: prep, submodules, all, quick, bench, clean, veryclean, install
+.PHONY: prep, submodules, all, quick, bench, clean, veryclean, install, sdist
all:
cabal-dev configure --enable-tests --enable-benchmarks && cabal-dev build
@@ -26,6 +26,10 @@ relocatable:
bench:
cabal-dev configure --enable-benchmarks && cabal-dev build
+sdist:
+ dist/setup/setup sdist
+ # cabal sdist won't work, see https://github.com/haskell/cabal/issues/403
+
clean:
cabal-dev clean