From: Michael Orlitzky Date: Mon, 20 Aug 2012 20:32:19 +0000 (-0400) Subject: Include the makefile in the tarball. X-Git-Tag: v0.0.2 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=1bb1de018094b02f179aefad133f432db07e0101;p=dead%2Flwn-epub.git Include the makefile in the tarball. Add a 'dist' makefile target. Clean up some makefile junk. Bump to v0.0.2 to cover up the makefile snafu. --- diff --git a/lwn-epub.cabal b/lwn-epub.cabal index c18f60f..61b3270 100644 --- a/lwn-epub.cabal +++ b/lwn-epub.cabal @@ -1,5 +1,5 @@ name: lwn-epub -version: 0.0.1 +version: 0.0.2 cabal-version: >= 1.8 author: Michael Orlitzky maintainer: Michael Orlitzky @@ -15,7 +15,7 @@ description: A command-line utility that downloads an LWN article (or issue), cleans it up, and writes it to EPUB with a stylesheet that looks decent on the Kindle. It can use account credentials to log in and access the current edition. -data-files: doc/README +data-files: makefile doc/README executable lwn-epub build-depends: diff --git a/makefile b/makefile index 9a13372..69ab48d 100644 --- a/makefile +++ b/makefile @@ -1,4 +1,4 @@ -.PHONY : test publish_doc doc src_html hlint +.PHONY : test dist # There's onlt one '$' in the awk script, but we have to double-money # it for make. @@ -25,12 +25,9 @@ clean: install: $(BIN) runghc Setup.hs install -# Neither 'haddock' nor 'hscolour' seem to work properly. -doc: src_html - runghc Setup.hs hscolour --executables - runghc Setup.hs haddock --internal \ - --executables \ - --hyperlink-source +dist: + runghc Setup.hs configure + runghc Setup.hs sdist test: $(BIN) $(TESTSUITE_BIN) runghc Setup.hs test