Fix building on docker hub and older install programs (#529)

* Work around broken install
* Create docs dir with mkdir
This commit is contained in:
Norbert Preining 2019-06-13 05:25:24 +09:00 committed by abraunegg
parent 33de495ec4
commit 4aa8c1e267

View file

@ -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)