Skip to content

Commit

Permalink
Fixing Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
phillbush committed Jun 21, 2020
1 parent aa9d72d commit 309fd17
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,11 @@ clean:
-rm ${OBJS} ${PROG}

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

uninstall:
rm -f ${DESTDIR}${PREFIX}/bin/${PROG}
rm -f ${DESTDIR}/${MANPREFIX}/${PROG}.1
rm -f ${DESTDIR}${MANPREFIX}/man1/${PROG}.1

.PHONY: all clean install uninstall

0 comments on commit 309fd17

Please sign in to comment.