Revision 9bfcf2e9

b/Makefile.am
1811 1811
	    -DGNT_SCRIPTS="$(foreach i,$(notdir $(gnt_scripts)),\"$(i)\":)" \
1812 1812
	    -DHS_HTOOLS_PROGS="$(foreach i,$(HS_HTOOLS_PROGS),\"$(i)\":)" \
1813 1813
	    -DPKGLIBDIR="$(libdir)/ganeti" \
1814
	    -DSHAREDIR="$(prefix)/share/ganeti" \
1814 1815
	    -DVERSIONEDSHAREDIR="$(versionedsharedir)" \
1815 1816
	    -DDRBD_BARRIERS="$(DRBD_BARRIERS)" \
1816 1817
	    -DDRBD_NO_META_FLUSH="$(DRBD_NO_META_FLUSH)" \
b/lib/pathutils.py
42 42
SYSCONFDIR = vcluster.AddNodePrefix(_constants.SYSCONFDIR)
43 43
TOOLSDIR = _constants.TOOLSDIR
44 44
PKGLIBDIR = _constants.PKGLIBDIR
45
SHAREDIR = _constants.SHAREDIR
45 46
LOCALSTATEDIR = vcluster.AddNodePrefix(_constants.LOCALSTATEDIR)
46 47

  
47 48
# Paths which don't change for a virtual cluster
b/src/AutoConf.hs.in
121 121
pkglibdir :: String
122 122
pkglibdir = "PKGLIBDIR"
123 123

  
124
sharedir :: String
125
sharedir = "SHAREDIR"
126

  
124 127
versionedsharedir :: String
125 128
versionedsharedir = "VERSIONEDSHAREDIR"
126 129

  
b/src/Ganeti/HsConstants.hs
99 99
pkglibdir :: String
100 100
pkglibdir = AutoConf.pkglibdir
101 101

  
102
sharedir :: String
103
sharedir = AutoConf.sharedir
104

  
102 105
-- * 'autoconf' constants for Python only ('lib/build/sphinx_ext.py')
103 106

  
104 107
manPages :: Map String Int

Also available in: Unified diff