From 282da0e58090bf0e53096f1c77e8e8077a7c6191 Mon Sep 17 00:00:00 2001 From: CuleX Date: Sat, 23 Sep 2017 19:55:58 +0200 Subject: [PATCH] Create all installation directories This is required for the DESTDIR variable to actually work and create the necessary tree. --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index 4ca9c42..d83bcd4 100644 --- a/makefile +++ b/makefile @@ -28,7 +28,7 @@ MAN_DIR=$(DESTDIR)/$(PREFIX)/share/man/man3 all : library install: library src/monocypher.h install-doc - mkdir -p $(DESTDIR)/$(PREFIX)/lib + mkdir -p $(DESTDIR)/$(PREFIX)/lib $(DESTDIR)/$(PREFIX)/include $(PKGCONFIG) $(MAN_DIR) cp lib/libmonocypher.a lib/libmonocypher.so $(DESTDIR)/$(PREFIX)/lib cp src/monocypher.h $(DESTDIR)/$(PREFIX)/include @echo "Creating $(PKGCONFIG)/monocypher.pc" -- 2.47.3