aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2021-07-28 08:34:30 +0000
committermerakor <cem@ckyln.com>2021-07-28 08:34:30 +0000
commit730c1dcc7723283fb9196ae1df69997233295b72 (patch)
treedb90aecfe28273da28fd6a99faf8a97c3f572b0e
parentcc0c978106939e2f057484b9a38f90051e75c87e (diff)
downloadcpt-730c1dcc7723283fb9196ae1df69997233295b72.tar.gz
Makefile: fix install target
FossilOrigin-Name: 571550ba5950b8f179c5f2f6b99da7dc9a55ba128a73f9c7db97e70616c1267f
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 5cb62c1..e2fee3f 100644
--- a/Makefile
+++ b/Makefile
@@ -34,9 +34,9 @@ dist: docs/cpt.info
install: all
test "${DOCS}" != yes || ${MAKE} -C docs install
[ -f docs/cpt.info ] && \
- ${INSTALL_SH} -Dm644 docs/cpt.info -t ${DESTDIR}${INFODIR}
+ ${INSTALL_SH} -Dm644 docs/cpt.info ${DESTDIR}${INFODIR}/cpt.info
[ -f docs/cpt.txt ] && \
- ${INSTALL_SH} -Dm644 docs/cpt.txt -t ${DESTDIR}${DOCDIR}
+ ${INSTALL_SH} -Dm644 docs/cpt.txt ${DESTDIR}${DOCDIR}/cpt.txt
${INSTALL_SH} -Dm755 -t ${DESTDIR}${BINDIR} ${BIN}
${INSTALL_SH} -Dm644 -t ${DESTDIR}${MAN1} man/*.1
for man in ${CONTRIB}; do \