hbal: Change hardcoded tests to monadic composition
[ganeti-local] / Makefile
index 4aa4964..bfa94e0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -29,7 +29,7 @@ doc: $(DOCS)
                $(HSRCS)
 
 clean:
-       rm -f hbal hn1
+       rm -f $(HPROGS)
        rm -f *.o *.prof *.ps *.stat *.aux *.hi
        cd Ganeti/HTools && rm -f *.o *.prof *.ps *.stat *.aux *.hi
        rm -f $(DOCS) TAGS Ganeti/HTools/Version.hs
@@ -41,7 +41,7 @@ version:
 Ganeti/HTools/Version.hs: Ganeti/HTools/Version.hs.in version
        sed -e "s/%ver%/$$(cat version)/" < $< > $@
 
-dist: version doc
+dist: Ganeti/HTools/Version.hs version doc
        VN=$$(cat version|sed 's/^v//') ; \
        ANAME="htools-$$VN.tar" ; \
        rm -f $$ANAME $$ANAME.gz ; \