1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

lvmdbusd: Make lvmdbusd executable

- Add files built from *.in to builddir files.
- Add all files built from *.in to DISTCLEAN_TARGETS.
This commit is contained in:
Marian Csontos 2017-12-14 13:40:05 +01:00
parent c48d22bd3c
commit c957d46f1d

View File

@ -26,9 +26,7 @@ LVMDBUS_SRCDIR_FILES = \
__init__.py \ __init__.py \
job.py \ job.py \
loader.py \ loader.py \
lvmdb.py \
main.py \ main.py \
lvm_shell_proxy.py \
lv.py \ lv.py \
manager.py \ manager.py \
objectmanager.py \ objectmanager.py \
@ -40,14 +38,19 @@ LVMDBUS_SRCDIR_FILES = \
vg.py vg.py
LVMDBUS_BUILDDIR_FILES = \ LVMDBUS_BUILDDIR_FILES = \
lvmdb.py \
lvm_shell_proxy.py \
path.py path.py
LVMDBUSD = $(srcdir)/lvmdbusd LVMDBUSD = lvmdbusd
include $(top_builddir)/make.tmpl include $(top_builddir)/make.tmpl
.PHONY: install_lvmdbusd .PHONY: install_lvmdbusd
all:
test -x $(LVMDBUSD) || chmod 755 $(LVMDBUSD)
install_lvmdbusd: install_lvmdbusd:
$(INSTALL_DIR) $(sbindir) $(INSTALL_DIR) $(sbindir)
$(INSTALL_SCRIPT) $(LVMDBUSD) $(sbindir) $(INSTALL_SCRIPT) $(LVMDBUSD) $(sbindir)
@ -63,4 +66,5 @@ install_lvm2: install_lvmdbusd
install: install_lvm2 install: install_lvm2
DISTCLEAN_TARGETS+= \ DISTCLEAN_TARGETS+= \
$(LVMDBUS_BUILDDIR_FILES) $(LVMDBUS_BUILDDIR_FILES) \
$(LVMDBUSD)