be sure to have directories for install targets
MODIFY
Makefile
Makefile
@@ -361,7 +361,7 @@ source-only: all radamsa
@echo Apache License Version 2.0, January 2004 >> $@
install: all $(MANPAGES)
- mkdir -p -m 755 $${DESTDIR}$(BIN_PATH) $${DESTDIR}$(HELPER_PATH) $${DESTDIR}$(DOC_PATH) $${DESTDIR}$(MISC_PATH)
+ install -d -m 755 $${DESTDIR}$(BIN_PATH) $${DESTDIR}$(HELPER_PATH) $${DESTDIR}$(DOC_PATH) $${DESTDIR}$(MISC_PATH)
rm -f $${DESTDIR}$(BIN_PATH)/afl-plot.sh
install -m 755 $(PROGS) $(SH_PROGS) $${DESTDIR}$(BIN_PATH)
rm -f $${DESTDIR}$(BIN_PATH)/afl-as

MODIFY
libdislocator/Makefile
libdislocator/Makefile
@@ -38,6 +38,7 @@ clean:
rm -f ../libdislocator.so
install: all
+ install -m 755 -d $${DESTDIR}$(HELPER_PATH)
install -m 755 ../libdislocator.so $${DESTDIR}$(HELPER_PATH)
install -m 644 README.dislocator.md $${DESTDIR}$(HELPER_PATH)

MODIFY
libtokencap/Makefile
libtokencap/Makefile
@@ -55,6 +55,7 @@ clean:
rm -f ../libtokencap.so
install: all
+ install -m 755 -d $${DESTDIR}$(HELPER_PATH)
install -m 755 ../libtokencap.so $${DESTDIR}$(HELPER_PATH)
install -m 644 README.tokencap.md $${DESTDIR}$(HELPER_PATH)

be sure to have directories for install targets