projects
/
xmenu
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
cdc4d51
)
Updating install commands in Makefile
author
phillbush
<phillbush@cock.li>
Wed, 27 May 2020 23:57:38 +0000
(20:57 -0300)
committer
phillbush
<phillbush@cock.li>
Wed, 27 May 2020 23:57:38 +0000
(20:57 -0300)
Makefile
patch
|
blob
|
blame
|
history
diff --git
a/Makefile
b/Makefile
index
8e58c75
..
97cab1f
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-17,10
+17,8
@@
clean:
-rm ${OBJS} ${PROG}
install: all
-rm ${OBJS} ${PROG}
install: all
- install -d ${DESTDIR}${PREFIX}/bin/
- install -d ${DESTDIR}${MANPREFIX}/man1/
- install -m 755 ${PROG} ${DESTDIR}${PREFIX}/bin/
- install -m 644 ${PROG}.1 ${DESTDIR}${MANPREFIX}/man1/
+ 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}
uninstall:
rm -f ${DESTDIR}/${PREFIX}/bin/${PROG}