From 8ae8df60fbed2e7fbfc3da0a714ee16bfd32ce9d Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Sun, 25 Sep 2022 14:56:00 +0100 Subject: [PATCH] Don't create the "last" storage subdirectory ot-record creates it automatically. Other directories are also created automatically, so we should be consistent here. Note that some package managers need special handling for empty directories at build time, but they don't care about directories created at runtime. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 28ab45b..ae5f67a 100644 --- a/Makefile +++ b/Makefile @@ -130,7 +130,7 @@ install: ot-recorder ocat mkdir -p $(DESTDIR)$(INSTALLDIR)/bin mkdir -p $(DESTDIR)$(INSTALLDIR)/sbin mkdir -p $(DESTDIR)$(DOCROOT) - mkdir -p $(DESTDIR)$(STORAGEDEFAULT)/last + mkdir -p $(DESTDIR)$(STORAGEDEFAULT) cp -R docroot/* $(DESTDIR)$(DOCROOT)/ install -m 0755 ot-recorder $(DESTDIR)$(INSTALLDIR)/sbin install -m 0755 ocat $(DESTDIR)$(INSTALLDIR)/bin