This is required for the DESTDIR variable to actually work and create
the necessary tree.
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"