Commit 9b1e1cc9 authored by Iustin Pop's avatar Iustin Pop
Browse files

Ensure consistent naming of the tools

This patch makes sure that all references to the name of the software is
ganeti-htools, not simply htools.
parent 9256e36a
/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
{-| Unittests for htools
{-| Unittests for ganeti-htools
-}
......
......@@ -7,4 +7,4 @@ module Ganeti.HTools.Version
-- | The version of the sources.
version :: String
version = "(htools) version %ver%"
version = "(ganeti-htools) version %ver%"
......@@ -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
......
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
......
{-| Unittest runner for htools
{-| Unittest runner for ganeti-htools
-}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment