1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-10 05:18:36 +03:00

Install generated 10-dm.rules from builddir.

Patch just check whether file is generated in builddir otherwise srcdir file
is used.
This commit is contained in:
Zdenek Kabelac 2010-03-31 07:40:20 +00:00
parent 78024e7be6
commit 4aac2c543b

View File

@ -40,7 +40,8 @@ install_device-mapper: $(DM_RULES)
@for f in $(DM_RULES); \
do \
$(RM) $(udevdir)/$$f; \
$(INSTALL) -c -D $(OWNER) $(GROUP) -m 644 $(srcdir)/$$f $(udevdir)/$$f; \
if test -f $$f; then file=$$f; else file=$(srcdir)/$$f; fi; \
$(INSTALL) -c -D $(OWNER) $(GROUP) -m 644 $$file $(udevdir)/$$f; \
done
install: install_lvm2 install_device-mapper