From 4aa8c1e2679251f567b8902e55d2661aae7dc8a4 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Thu, 13 Jun 2019 05:25:24 +0900 Subject: [PATCH] Fix building on docker hub and older install programs (#529) * Work around broken install * Create docs dir with mkdir --- Makefile.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index 455c4c31..7399641e 100644 --- a/Makefile.in +++ b/Makefile.in @@ -104,7 +104,8 @@ install: all $(INSTALL) -D onedrive $(DESTDIR)$(bindir)/onedrive $(INSTALL) -D onedrive.1 $(DESTDIR)$(mandir)/man1/onedrive.1 $(INSTALL) -D -m 644 contrib/logrotate/onedrive.logrotate $(DESTDIR)$(sysconfdir)/logrotate.d/onedrive - $(INSTALL) -D -m 644 -t $(DESTDIR)$(docdir) $(DOCFILES) + mkdir -p $(DESTDIR)$(docdir) + $(INSTALL) -D -m 644 $(DOCFILES) $(DESTDIR)$(docdir) ifeq ($(HAVE_SYSTEMD),yes) $(INSTALL) -d -o root -g root -m 0755 $(DESTDIR)$(systemduserunitdir) $(DESTDIR)$(systemdsystemunitdir) ifeq ($(RHEL),1)