From c957d46f1d73891e3a7e9c1482c1d4a39ca0e79a Mon Sep 17 00:00:00 2001 From: Marian Csontos Date: Thu, 14 Dec 2017 13:40:05 +0100 Subject: [PATCH] lvmdbusd: Make lvmdbusd executable - Add files built from *.in to builddir files. - Add all files built from *.in to DISTCLEAN_TARGETS. --- daemons/lvmdbusd/Makefile.in | 12 ++++++++---- 1 file 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)