From: CuleX Date: Sat, 23 Sep 2017 17:55:58 +0000 (+0200) Subject: Create all installation directories X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=282da0e58090bf0e53096f1c77e8e8077a7c6191;p=Monocypher.git Create all installation directories This is required for the DESTDIR variable to actually work and create the necessary tree. --- 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"