From: Michael Orlitzky Date: Fri, 25 Jul 2014 07:24:11 +0000 (-0400) Subject: Add a makefile rule to generate doc/dbschema/MLB_earlylineXML.png. X-Git-Tag: 0.0.9~5 X-Git-Url: http://gitweb.michael.orlitzky.com/?p=dead%2Fhtsn-import.git;a=commitdiff_plain;h=03a49e2a1db26026c86804a73acee025842282db Add a makefile rule to generate doc/dbschema/MLB_earlylineXML.png. --- diff --git a/makefile b/makefile index 7503515..6e5b0e5 100644 --- a/makefile +++ b/makefile @@ -24,6 +24,12 @@ doc: $(PN).cabal $(SRCS) --hyperlink-source \ --haddock-options="--ignore-all-exports" + +# The MLB schema is identical to the regular one. +doc/dbschema/MLB_earlylineXML.png: doc/dbschema/earlylineXML.png + cp $< $@ + + # # Testing. # @@ -41,9 +47,13 @@ test: $(BIN) $(TESTSUITE_BIN) # # Misc. # -dist: + +# Only generate MLB_earlylineXML.png long enough to create +# the tarball. +dist: doc/dbschema/MLB_earlylineXML.png runghc Setup.hs configure --prefix=/ TAR_OPTIONS="--format=ustar" runghc Setup.hs sdist + rm $< hlint: hlint --ignore="Use camelCase" \