Skip to content

Commit 58f403b

Browse files
authored
Merge pull request #4 from 0mp/patch-1
Replace install -D with mkdir
2 parents 64397f2 + 91d52b3 commit 58f403b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,10 @@ clean:
1717
-rm ${OBJS} ${PROG}
1818

1919
install: all
20-
install -D -m 755 ${PROG} ${DESTDIR}${PREFIX}/bin/${PROG}
21-
install -D -m 644 ${PROG}.1 ${DESTDIR}${MANPREFIX}/man1/${PROG}.1
20+
mkdir -p ${DESTDIR}${PREFIX}/bin
21+
install -m 755 ${PROG} ${DESTDIR}${PREFIX}/bin/${PROG}
22+
mkdir -p ${DESTDIR}${MANPREFIX}/man1
23+
install -m 644 ${PROG}.1 ${DESTDIR}${MANPREFIX}/man1/${PROG}.1
2224

2325
uninstall:
2426
rm -f ${DESTDIR}${PREFIX}/bin/${PROG}

0 commit comments

Comments
 (0)