Skip to content

Commit

Permalink
Merge pull request #4 from 0mp/patch-1
Browse files Browse the repository at this point in the history
Replace install -D with mkdir
  • Loading branch information
phillbush authored Oct 6, 2020
2 parents 64397f2 + 91d52b3 commit 58f403b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ clean:
-rm ${OBJS} ${PROG}

install: all
install -D -m 755 ${PROG} ${DESTDIR}${PREFIX}/bin/${PROG}
install -D -m 644 ${PROG}.1 ${DESTDIR}${MANPREFIX}/man1/${PROG}.1
mkdir -p ${DESTDIR}${PREFIX}/bin
install -m 755 ${PROG} ${DESTDIR}${PREFIX}/bin/${PROG}
mkdir -p ${DESTDIR}${MANPREFIX}/man1
install -m 644 ${PROG}.1 ${DESTDIR}${MANPREFIX}/man1/${PROG}.1

uninstall:
rm -f ${DESTDIR}${PREFIX}/bin/${PROG}
Expand Down

0 comments on commit 58f403b

Please sign in to comment.