Updating install commands in Makefile
This commit is contained in:
parent
cdc4d51fee
commit
95e47cc023
6
Makefile
6
Makefile
|
@ -17,10 +17,8 @@ clean:
|
||||||
-rm ${OBJS} ${PROG}
|
-rm ${OBJS} ${PROG}
|
||||||
|
|
||||||
install: all
|
install: all
|
||||||
install -d ${DESTDIR}${PREFIX}/bin/
|
install -D -m 755 ${PROG} ${DESTDIR}${PREFIX}/bin/${PROG}
|
||||||
install -d ${DESTDIR}${MANPREFIX}/man1/
|
install -D -m 644 ${PROG}.1 ${DESTDIR}${MANPREFIX}/man1/${PROG}.1
|
||||||
install -m 755 ${PROG} ${DESTDIR}${PREFIX}/bin/
|
|
||||||
install -m 644 ${PROG}.1 ${DESTDIR}${MANPREFIX}/man1/
|
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
rm -f ${DESTDIR}/${PREFIX}/bin/${PROG}
|
rm -f ${DESTDIR}/${PREFIX}/bin/${PROG}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user