Makefile: simplified 'make dist'.
Note that this may not work with older cabal versions.
This commit is contained in:
parent
374bb3c147
commit
4455905550
1 changed files with 3 additions and 6 deletions
9
Makefile
9
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
|
||||
|
|
Loading…
Add table
Reference in a new issue