Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
/apidoc/ /apidoc
/.hpc/ /.hpc
/coverage/ /coverage
*.o *.o
*.patch *.patch
...@@ -25,5 +25,5 @@ test ...@@ -25,5 +25,5 @@ test
version version
Version.hs Version.hs
htools-*.tar.gz *.tar.gz
htools-*.tar.gz.asc *.tar.gz.asc
{-| Unittests for htools {-| Unittests for ganeti-htools
-} -}
......
...@@ -7,4 +7,4 @@ module Ganeti.HTools.Version ...@@ -7,4 +7,4 @@ module Ganeti.HTools.Version
-- | The version of the sources. -- | The version of the sources.
version :: String version :: String
version = "(htools) version %ver%" version = "(ganeti-htools) version %ver%"
...@@ -31,7 +31,7 @@ doc: $(DOCS) Ganeti/HTools/Version.hs ...@@ -31,7 +31,7 @@ doc: $(DOCS) Ganeti/HTools/Version.hs
$$file > $(HDDIR)/Ganeti/HTools/`basename $$file .hs`.html ; \ $$file > $(HDDIR)/Ganeti/HTools/`basename $$file .hs`.html ; \
done done
haddock --odir $(HDDIR) --html --ignore-all-exports \ haddock --odir $(HDDIR) --html --ignore-all-exports \
-t htools -p haddock-prologue \ -t ganeti-htools -p haddock-prologue \
--source-module="%{MODULE/.//}.html" \ --source-module="%{MODULE/.//}.html" \
--source-entity="%{MODULE/.//}.html#%{NAME}" \ --source-entity="%{MODULE/.//}.html#%{NAME}" \
$(HSRCS) $(HSRCS)
...@@ -53,11 +53,12 @@ Ganeti/HTools/Version.hs: Ganeti/HTools/Version.hs.in version ...@@ -53,11 +53,12 @@ Ganeti/HTools/Version.hs: Ganeti/HTools/Version.hs.in version
dist: Ganeti/HTools/Version.hs version doc dist: Ganeti/HTools/Version.hs version doc
VN=$$(cat version|sed 's/^v//') ; \ VN=$$(cat version|sed 's/^v//') ; \
ANAME="htools-$$VN.tar" ; \ PFX="ganeti-htools-$$VN" ; \
ANAME="$$PFX.tar" ; \
rm -f $$ANAME $$ANAME.gz ; \ 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 \ tar -r -f $$ANAME --owner root --group root \
--transform="s,^,htools-$$VN/," version apidoc $(DOCS) ; \ --transform="s,^,$$PFX/," version apidoc $(DOCS) ; \
gzip -v9 $$ANAME ; \ gzip -v9 $$ANAME ; \
tar tzvf $$ANAME.gz tar tzvf $$ANAME.gz
......
This is the internal documentation for htools, a couple of small tools This is the internal documentation for ganeti-htools, a couple of
for Ganeti cluster analysis. small tools for Ganeti cluster analysis.
The "Ganeti.HTools.Cluster" module is the one holding most high-level The "Ganeti.HTools.Cluster" module is the one holding most high-level
logic, the "Ganeti.HTools.Node" and "Ganeti.HTools.Instance" modules logic, the "Ganeti.HTools.Node" and "Ganeti.HTools.Instance" modules
......
{-| Unittest runner for htools {-| Unittest runner for ganeti-htools
-} -}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment