Fix the makefile dist rule
authorIustin Pop <iustin@google.com>
Tue, 21 Apr 2009 07:05:52 +0000 (09:05 +0200)
committerIustin Pop <iustin@google.com>
Tue, 21 Apr 2009 07:05:52 +0000 (09:05 +0200)
It was missing a dependency on the Version.hs file, so right after “make
clean”, a “make dist” used to fail.

Makefile

index 11b44bf..bfa94e0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -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 ; \