If no modules, the 'install -m' will generate an error. Signed-off-by: Andy Grover <agrover@xxxxxxxxxx> --- usr/Makefile | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/usr/Makefile b/usr/Makefile index a9c2238..7e8623b 100644 --- a/usr/Makefile +++ b/usr/Makefile @@ -94,8 +94,10 @@ bs_rbd.so: bs_rbd.c install: $(PROGRAMS) $(MODULES) install -d -m 755 $(DESTDIR)$(sbindir) install -m 755 $(PROGRAMS) $(DESTDIR)$(sbindir) +ifneq ($(MODULES),) install -d -m 755 $(DESTDIR)$(libdir)/backing-store install -m 755 $(MODULES) $(DESTDIR)$(libdir)/backing-store +endif .PHONY: clean clean: -- 1.7.1 -- To unsubscribe from this list: send the line "unsubscribe stgt" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html