shithub: rgbds

Download patch

ref: 32fa032a62e9e6385e9aa9e3c296526bec3fa939
parent: 73e44cb803809f1dacaeb1de203ecf42ab1e96a4
author: Anthony J. Bentley <[email protected]>
date: Fri Oct 3 11:14:40 EDT 2014

Makefile: Create install directories if they don’t exist.

--- a/Makefile
+++ b/Makefile
@@ -54,9 +54,11 @@
 	$Qrm -rf src/asm/asmy.c src/asm/asmy.h src/asm/asmy.y
 
 install: all
+	$Qmkdir -p ${BINPREFIX}
 	$Qinstall -s -m 555 rgbasm ${BINPREFIX}/rgbasm
 	$Qinstall -s -m 555 rgbfix ${BINPREFIX}/rgbfix
 	$Qinstall -s -m 555 rgblink ${BINPREFIX}/rgblink
+	$Qmkdir -p ${MANPREFIX}/man1 ${MANPREFIX}/man7
 	$Qinstall -m 444 src/rgbds.7 ${MANPREFIX}/man7/rgbds.7 || \
 		(echo Installing manpages to ${MANPREFIX} failed. >&2 && \
 		 echo Check where your manpages are installed and set the \