summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarian Csontos <mcsontos@redhat.com>2017-12-14 13:40:05 +0100
committerMarian Csontos <mcsontos@redhat.com>2017-12-14 16:45:53 +0100
commitc957d46f1d73891e3a7e9c1482c1d4a39ca0e79a (patch)
treef0a7a55c84b77c1dd8019f6206abfd4836dd76cc
parentc48d22bd3cddfe540413ed591ea18399c571a852 (diff)
downloadlvm2-c957d46f1d73891e3a7e9c1482c1d4a39ca0e79a.tar.gz
lvmdbusd: Make lvmdbusd executable
- Add files built from *.in to builddir files. - Add all files built from *.in to DISTCLEAN_TARGETS.
-rw-r--r--daemons/lvmdbusd/Makefile.in12
1 files changed, 8 insertions, 4 deletions
diff --git a/daemons/lvmdbusd/Makefile.in b/daemons/lvmdbusd/Makefile.in
index 0d52406cd..7cd7724de 100644
--- a/daemons/lvmdbusd/Makefile.in
+++ b/daemons/lvmdbusd/Makefile.in
@@ -26,9 +26,7 @@ LVMDBUS_SRCDIR_FILES = \
__init__.py \
job.py \
loader.py \
- lvmdb.py \
main.py \
- lvm_shell_proxy.py \
lv.py \
manager.py \
objectmanager.py \
@@ -40,14 +38,19 @@ LVMDBUS_SRCDIR_FILES = \
vg.py
LVMDBUS_BUILDDIR_FILES = \
+ lvmdb.py \
+ lvm_shell_proxy.py \
path.py
-LVMDBUSD = $(srcdir)/lvmdbusd
+LVMDBUSD = lvmdbusd
include $(top_builddir)/make.tmpl
.PHONY: install_lvmdbusd
+all:
+ test -x $(LVMDBUSD) || chmod 755 $(LVMDBUSD)
+
install_lvmdbusd:
$(INSTALL_DIR) $(sbindir)
$(INSTALL_SCRIPT) $(LVMDBUSD) $(sbindir)
@@ -63,4 +66,5 @@ install_lvm2: install_lvmdbusd
install: install_lvm2
DISTCLEAN_TARGETS+= \
- $(LVMDBUS_BUILDDIR_FILES)
+ $(LVMDBUS_BUILDDIR_FILES) \
+ $(LVMDBUSD)