Add a 'dist' makefile target.
Clean up some makefile junk.
Bump to v0.0.2 to cover up the makefile snafu.
name: lwn-epub
-version: 0.0.1
+version: 0.0.2
cabal-version: >= 1.8
author: Michael Orlitzky
maintainer: Michael Orlitzky <michael@orlitzky.com>
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:
-.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.
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