make makefile portable
This commit is contained in:
parent
1b566a9054
commit
1ca0d0d6dc
6
Makefile
6
Makefile
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue
Block a user