Revision 2997cb0a
b/.gitignore | ||
---|---|---|
121 | 121 |
/.hpc/ |
122 | 122 |
/*.tix |
123 | 123 |
|
124 |
/htools/Ganeti/HTools/Version.hs |
|
125 | 124 |
/htools/Ganeti/Constants.hs |
125 |
/htools/Ganeti/Version.hs |
|
126 | 126 |
/htest/Test/Ganeti/TestImports.hs |
b/Makefile.am | ||
---|---|---|
380 | 380 |
--exclude Ganeti.Constants \ |
381 | 381 |
--exclude Ganeti.THH \ |
382 | 382 |
--exclude Ganeti.HTools.QC \ |
383 |
--exclude Ganeti.HTools.Version \
|
|
383 |
--exclude Ganeti.Version \ |
|
384 | 384 |
--exclude Test.Ganeti.TestCommon \ |
385 | 385 |
--exclude Test.Ganeti.TestHTools \ |
386 | 386 |
--exclude Test.Ganeti.TestHelper \ |
... | ... | |
467 | 467 |
HS_BUILT_SRCS = \ |
468 | 468 |
htest/Test/Ganeti/TestImports.hs \ |
469 | 469 |
htools/Ganeti/Constants.hs \ |
470 |
htools/Ganeti/HTools/Version.hs
|
|
470 |
htools/Ganeti/Version.hs |
|
471 | 471 |
HS_BUILT_SRCS_IN = $(patsubst %,%.in,$(HS_BUILT_SRCS)) |
472 | 472 |
|
473 | 473 |
$(RUN_IN_TEMPDIR): | stamp-directories |
... | ... | |
1106 | 1106 |
$(MAKE) $(AM_MAKEFLAGS) vcs-version; \ |
1107 | 1107 |
fi |
1108 | 1108 |
|
1109 |
htools/Ganeti/HTools/Version.hs: htools/Ganeti/HTools/Version.hs.in \
|
|
1109 |
htools/Ganeti/Version.hs: htools/Ganeti/Version.hs.in \
|
|
1110 | 1110 |
vcs-version $(built_base_sources) |
1111 | 1111 |
set -e; \ |
1112 | 1112 |
VCSVER=`cat $(abs_top_srcdir)/vcs-version`; \ |
b/htools/Ganeti/Daemon.hs | ||
---|---|---|
68 | 68 |
import Ganeti.Runtime |
69 | 69 |
import Ganeti.BasicTypes |
70 | 70 |
import Ganeti.HTools.Utils |
71 |
import qualified Ganeti.HTools.Version as Version(version)
|
|
71 |
import qualified Ganeti.Version as Version (version)
|
|
72 | 72 |
import qualified Ganeti.Constants as C |
73 | 73 |
import qualified Ganeti.Ssconf as Ssconf |
74 | 74 |
|
b/htools/Ganeti/HTools/CLI.hs | ||
---|---|---|
94 | 94 |
import System.Exit |
95 | 95 |
import Text.Printf (printf) |
96 | 96 |
|
97 |
import qualified Ganeti.HTools.Version as Version(version)
|
|
97 |
import qualified Ganeti.Version as Version (version)
|
|
98 | 98 |
import qualified Ganeti.HTools.Container as Container |
99 | 99 |
import qualified Ganeti.HTools.Node as Node |
100 | 100 |
import qualified Ganeti.Constants as C |
/dev/null | ||
---|---|---|
1 |
-- Hey Emacs, this is a -*- haskell -*- file |
|
2 |
{- | Auto-generated module holding version information. |
|
3 |
-} |
|
4 |
|
|
5 |
module Ganeti.HTools.Version |
|
6 |
( |
|
7 |
version |
|
8 |
) where |
|
9 |
|
|
10 |
-- | The version of the sources. |
|
11 |
version :: String |
|
12 |
version = "(ganeti-htools) version %ver%" |
b/htools/Ganeti/Version.hs.in | ||
---|---|---|
1 |
-- Hey Emacs, this is a -*- haskell -*- file |
|
2 |
{- | Auto-generated module holding version information. |
|
3 |
-} |
|
4 |
|
|
5 |
module Ganeti.Version |
|
6 |
( |
|
7 |
version |
|
8 |
) where |
|
9 |
|
|
10 |
-- | The version of the sources. |
|
11 |
version :: String |
|
12 |
version = "(ganeti) version %ver%" |
Also available in: Unified diff