ii

git clone https://orangeshoelaces.net/git/ii.git

1753704e7362d0406190858f7310d165481f6b3a

Author: Anselm R. Garbe on 02/24/2006

Committer: Anselm R. Garbe on 02/24/2006

appliead Anthonys Makefile patch

Stats

Makefile | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

Patch

diff --git a/Makefile b/Makefile
index f6bb169..0f95412 100644
--- a/Makefile
+++ b/Makefile
@@ -34,8 +34,10 @@ ii: ${OBJ}
 	@${CC} -o $@ ${OBJ} ${LDFLAGS}
 
 install: all
+	@mkdir -p ${DESTDIR}${PREFIX}/bin
 	@cp -f ii ${DESTDIR}${PREFIX}/bin
-	@chmod 775 ${DESTDIR}${PREFIX}/bin/ii
+	@chmod 755 ${DESTDIR}${PREFIX}/bin/ii
+	@mkdir -p ${DESTDIR}${MANPREFIX}/man1
 	@cp -f ii.1 ${DESTDIR}${MANPREFIX}/man1
 	@chmod 444 ${DESTDIR}${MANPREFIX}/man1/ii.1
 	@echo "installed ii"