Commit 12475881 authored by Klaus Aehlig's avatar Klaus Aehlig

Export VERSIONEDSHAREDIR to _autoconf.py

Signed-off-by: default avatarKlaus Aehlig <aehlig@google.com>
Reviewed-by: default avatarJose Lopes <jabolopes@google.com>
parent dd7863e7
......@@ -1801,6 +1801,7 @@ lib/_autoconf.py: Makefile | stamp-directories
echo "GNT_SCRIPTS = [$(foreach i,$(notdir $(gnt_scripts)),'$(i)',)]"; \
echo "HTOOLS_PROGS = [$(foreach i,$(HS_HTOOLS_PROGS),'$(i)',)]"; \
echo "PKGLIBDIR = '$(libdir)/ganeti'"; \
echo "VERSIONEDSHAREDIR = '$(versionedsharedir)'"; \
echo "DRBD_BARRIERS = '$(DRBD_BARRIERS)'"; \
echo "DRBD_NO_META_FLUSH = $(DRBD_NO_META_FLUSH)"; \
echo "SYSLOG_USAGE = '$(SYSLOG_USAGE)'"; \
......@@ -1875,6 +1876,7 @@ src/AutoConf.hs: Makefile src/AutoConf.hs.in | stamp-directories
-DGNT_SCRIPTS="$(foreach i,$(notdir $(gnt_scripts)),\"$(i)\":)" \
-DHS_HTOOLS_PROGS="$(foreach i,$(HS_HTOOLS_PROGS),\"$(i)\":)" \
-DPKGLIBDIR="$(libdir)/ganeti" \
-DVERSIONEDSHAREDIR="$(versionedsharedir)" \
-DDRBD_BARRIERS="$(DRBD_BARRIERS)" \
-DDRBD_NO_META_FLUSH="$(DRBD_NO_META_FLUSH)" \
-DSYSLOG_USAGE="$(SYSLOG_USAGE)" \
......
......@@ -121,6 +121,9 @@ htoolsProgs = HS_HTOOLS_PROGS[]
pkglibdir :: String
pkglibdir = "PKGLIBDIR"
versionedsharedir :: String
versionedsharedir = "VERSIONEDSHAREDIR"
drbdBarriers :: String
drbdBarriers = "DRBD_BARRIERS"
......
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