diff --git a/.gitignore b/.gitignore index 65824c5ac2fb70d3250f90fa1ea3f843439a346a..5e289ea4971169fc01d68109253fcff7ab507360 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,6 @@ -/apidoc/ -/.hpc/ -/coverage/ +/apidoc +/.hpc +/coverage *.o *.patch @@ -25,5 +25,5 @@ test version Version.hs -htools-*.tar.gz -htools-*.tar.gz.asc +*.tar.gz +*.tar.gz.asc diff --git a/Ganeti/HTools/QC.hs b/Ganeti/HTools/QC.hs index ccf6a44e48b391d0d5c92d8eb16f58fba0a6c55e..58efb3436da461157c10516d18fd121943225212 100644 --- a/Ganeti/HTools/QC.hs +++ b/Ganeti/HTools/QC.hs @@ -1,4 +1,4 @@ -{-| Unittests for htools +{-| Unittests for ganeti-htools -} diff --git a/Ganeti/HTools/Version.hs.in b/Ganeti/HTools/Version.hs.in index df4fd72d48bd1606406d924bb4bf2fe2826e0ae4..3785e913b4e5af79b98b0354ff494f6fb3399d72 100644 --- a/Ganeti/HTools/Version.hs.in +++ b/Ganeti/HTools/Version.hs.in @@ -7,4 +7,4 @@ module Ganeti.HTools.Version -- | The version of the sources. version :: String -version = "(htools) version %ver%" +version = "(ganeti-htools) version %ver%" diff --git a/Makefile b/Makefile index ae50834be7352318486cb7c44e6a9ed5a306c92b..0ef37a07dfba8558368278ec9ea6c6743ba769ca 100644 --- a/Makefile +++ b/Makefile @@ -31,7 +31,7 @@ doc: $(DOCS) Ganeti/HTools/Version.hs $$file > $(HDDIR)/Ganeti/HTools/`basename $$file .hs`.html ; \ done haddock --odir $(HDDIR) --html --ignore-all-exports \ - -t htools -p haddock-prologue \ + -t ganeti-htools -p haddock-prologue \ --source-module="%{MODULE/.//}.html" \ --source-entity="%{MODULE/.//}.html#%{NAME}" \ $(HSRCS) @@ -53,11 +53,12 @@ Ganeti/HTools/Version.hs: Ganeti/HTools/Version.hs.in version dist: Ganeti/HTools/Version.hs version doc VN=$$(cat version|sed 's/^v//') ; \ - ANAME="htools-$$VN.tar" ; \ + PFX="ganeti-htools-$$VN" ; \ + ANAME="$$PFX.tar" ; \ rm -f $$ANAME $$ANAME.gz ; \ - git archive --format=tar --prefix=htools-$$VN/ HEAD > $$ANAME ; \ + git archive --format=tar --prefix=$$PFX/ HEAD > $$ANAME ; \ tar -r -f $$ANAME --owner root --group root \ - --transform="s,^,htools-$$VN/," version apidoc $(DOCS) ; \ + --transform="s,^,$$PFX/," version apidoc $(DOCS) ; \ gzip -v9 $$ANAME ; \ tar tzvf $$ANAME.gz diff --git a/haddock-prologue b/haddock-prologue index b4bf7f96212527bf282556655616b04c8d114332..5e156d8bc887132be40572cd93aa12af68e9888f 100644 --- a/haddock-prologue +++ b/haddock-prologue @@ -1,5 +1,5 @@ -This is the internal documentation for htools, a couple of small tools -for Ganeti cluster analysis. +This is the internal documentation for ganeti-htools, a couple of +small tools for Ganeti cluster analysis. The "Ganeti.HTools.Cluster" module is the one holding most high-level logic, the "Ganeti.HTools.Node" and "Ganeti.HTools.Instance" modules diff --git a/test.hs b/test.hs index d88b247dde3b6fff38184c6184dbb99ce9a34474..59d6f101d16468edc5c214fea760cd68a14f5173 100644 --- a/test.hs +++ b/test.hs @@ -1,4 +1,4 @@ -{-| Unittest runner for htools +{-| Unittest runner for ganeti-htools -}