From 03a49e2a1db26026c86804a73acee025842282db Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Fri, 25 Jul 2014 03:24:11 -0400 Subject: [PATCH] Add a makefile rule to generate doc/dbschema/MLB_earlylineXML.png. --- makefile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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" \ -- 2.43.2