From: Iustin Pop Date: Mon, 3 Oct 2011 16:25:24 +0000 (+0200) Subject: Fix Makefile rules for QCHelper.hs X-Git-Tag: v2.6.0beta1~834 X-Git-Url: https://code.grnet.gr/git/ganeti-local/commitdiff_plain/9822b1dddd4d7f2eb54984fd7f213b2ab7e3112b Fix Makefile rules for QCHelper.hs Include QCHelper.hs in the distributed files, and also exclude it and the THH.hs file from coverage reports. Signed-off-by: Iustin Pop Reviewed-by: Andrea Spadaccini --- diff --git a/Makefile.am b/Makefile.am index 26c5b86..3d855aa 100644 --- a/Makefile.am +++ b/Makefile.am @@ -334,8 +334,11 @@ HFLAGS = -O -Wall -fwarn-monomorphism-restriction -fwarn-tabs -ihtools # extra flags that can be overriden on the command line HEXTRA = # exclude options for coverage reports -HPCEXCL = --exclude Main --exclude Ganeti.HTools.QC \ +HPCEXCL = --exclude Main \ --exclude Ganeti.Constants \ + --exclude Ganeti.THH \ + --exclude Ganeti.HTools.QC \ + --exclude Ganeti.HTools.QCHelper \ --exclude Ganeti.HTools.Version HS_LIB_SRCS = \ @@ -353,6 +356,7 @@ HS_LIB_SRCS = \ htools/Ganeti/HTools/Node.hs \ htools/Ganeti/HTools/PeerMap.hs \ htools/Ganeti/HTools/QC.hs \ + htools/Ganeti/HTools/QCHelper.hs \ htools/Ganeti/HTools/Rapi.hs \ htools/Ganeti/HTools/Simu.hs \ htools/Ganeti/HTools/Text.hs \ @@ -1116,7 +1120,7 @@ check-local: check-dirs $(BUILT_SOURCES) fi; \ for file in doc/iallocator.rst doc/hooks.rst; do \ if test "`sed -ne '4 p' $(top_srcdir)/$$file`" != \ - "Documents Ganeti version $$expver"; then \ + "Documents Ganeti version $$expver"; then \ echo "Incorrect version in $$file, expected $$expver"; \ exit 1; \ fi; \