From 44559055506461d2c675f978182aa20ee689433e Mon Sep 17 00:00:00 2001
From: John MacFarlane <jgm@berkeley.edu>
Date: Sat, 30 Aug 2014 23:15:04 -0700
Subject: [PATCH] Makefile: simplified 'make dist'.

Note that this may not work with older cabal versions.
---
 Makefile | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/Makefile b/Makefile
index 306a9c84e..589130b72 100644
--- a/Makefile
+++ b/Makefile
@@ -32,11 +32,8 @@ install: full
 	cabal copy
 	cabal register
 
-sdist: man
-	# note: cabal sdist doesn't work well with preprocessors for some cabal versions
-	${setup} sdist
-
-dist: sdist
+dist: man
+	cabal sdist
 	rm -rf "pandoc-${version}"
 	tar xvzf dist/pandoc-${version}.tar.gz
 	cd pandoc-${version}
@@ -57,4 +54,4 @@ clean:
 	cabal clean
 	-rm ${MANPAGES}
 
-.PHONY: deps quick full install man clean test bench haddock sdist osxpkg dist prof
+.PHONY: deps quick full install man clean test bench haddock osxpkg dist prof