Create DOCDIR

The makefile attempts to copy the README.md file to a directory that doesn't exist when I build this in my build environment. This patch ensure that the directory exists first.
pull/89/head
Jonathan Carter 2020-05-02 18:52:42 +02:00 committed by GitHub
parent 8543c54f60
commit 2a7ec8df61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -7,6 +7,7 @@ all:
install: install:
@mkdir -p $(DESTDIR)$(PREFIX)/bin @mkdir -p $(DESTDIR)$(PREFIX)/bin
@cp -p bashtop $(DESTDIR)$(PREFIX)/bin/bashtop @cp -p bashtop $(DESTDIR)$(PREFIX)/bin/bashtop
@mkdir -p $(DESTDIR)$(DOCDIR)
@cp -p README.md $(DESTDIR)$(DOCDIR) @cp -p README.md $(DESTDIR)$(DOCDIR)
@chmod 755 $(DESTDIR)$(PREFIX)/bin/bashtop @chmod 755 $(DESTDIR)$(PREFIX)/bin/bashtop