From 27fe8ccca72b5f6264127153ebdd0bf7df74743a Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Sat, 28 Oct 2017 22:38:46 +0200 Subject: [PATCH] Create includedir_server directory when installing headers When using DESTDIR, the target directory is likely not yet existent, create it from the installincludes rule. --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 0892a24..77da6f2 100644 --- a/Makefile +++ b/Makefile @@ -38,4 +38,5 @@ maintainer-clean: install: installincludes installincludes: + $(INSTALL) -d '$(DESTDIR)$(includedir_server)/' $(INSTALL_DATA) $(addprefix $(srcdir)/, $(INCLUDES)) '$(DESTDIR)$(includedir_server)/'