From 2a7ec8df61663249836a35fa2a97419ef9226f6c Mon Sep 17 00:00:00 2001 From: Jonathan Carter Date: Sat, 2 May 2020 18:52:42 +0200 Subject: [PATCH] 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. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f4feaee..7850e37 100644 --- a/Makefile +++ b/Makefile @@ -7,9 +7,10 @@ all: install: @mkdir -p $(DESTDIR)$(PREFIX)/bin @cp -p bashtop $(DESTDIR)$(PREFIX)/bin/bashtop + @mkdir -p $(DESTDIR)$(DOCDIR) @cp -p README.md $(DESTDIR)$(DOCDIR) @chmod 755 $(DESTDIR)$(PREFIX)/bin/bashtop uninstall: @rm -rf $(DESTDIR)$(PREFIX)/bin/bashtop - @rm -rf $(DESTDIR)$(DOCDIR) \ No newline at end of file + @rm -rf $(DESTDIR)$(DOCDIR)