2 progress_monitor_support=yes
4 progress_monitor_support=no
8 osdir=$(OS_DIR)/$(osname)
9 defaultdir=$(DEFAULT_DIR)
10 variantsdir=${sysconfdir}/ganeti/snf-image/variants
12 dist_os_SCRIPTS = ${srcdir}/create ${srcdir}/import ${srcdir}/export \
13 ${srcdir}/rename ${srcdir}/verify
15 dist_os_DATA = ${srcdir}/ganeti_api_version ${srcdir}/parameters.list \
16 ${srcdir}/variants.list
18 dist_bin_SCRIPTS = snf-image-update-helper
23 -e 's|@sysconfdir[@]|$(sysconfdir)|g' \
24 -e 's|@localstatedir[@]|$(localstatedir)|g' \
25 -e 's|@osdir[@]|$(osdir)|g' \
26 -e 's|@osname[@]|$(osname)|g' \
27 -e 's|@defaultdir[@]|$(defaultdir)|g' \
28 -e 's|@HELPER_DIR[@]|$(HELPER_DIR)|g' \
29 -e 's|@HELPER_IMG[@]|$(HELPER_IMG)|g' \
30 -e 's|@HELPER_KERNEL[@]|$(HELPER_KERNEL)|g' \
31 -e 's|@HELPER_INITRD[@]|$(HELPER_INITRD)|g' \
32 -e 's|@HELPER_PKG[@]|$(HELPER_PKG)|g' \
33 -e 's|@AWK[@]|$(AWK)|g' \
34 -e 's|@MKDIR_P[@]|$(MKDIR_P)|g' \
35 -e 's|@LOSETUP[@]|$(LOSETUP)|g' \
36 -e 's|@KPARTX[@]|$(KPARTX)|g' \
37 -e 's|@SFDISK[@]|$(SFDISK)|g' \
38 -e 's|@INSTALL_MBR[@]|$(INSTALL_MBR)|g' \
39 -e 's|@progress_monitor_support[@]|$(progress_monitor_support)|g' \
40 -e 's|@PROGRESS_MONITOR[@]|$(PROGRESS_MONITOR)|g'
45 test -f ./$@.in || srcdir=$(srcdir)/; \
46 $(edit) $${srcdir}$@.in >$@.tmp
50 @mkdir_p@ "$(DESTDIR)$(osdir)"
51 @mkdir_p@ "$(DESTDIR)$(variantsdir)"
52 touch "$(DESTDIR)$(variantsdir)/default.conf"
55 CLEANFILES = $(os_DATA) $(dist_bin_SCRIPTS)