commit 8fe6e39440aa81b46bb826576e4304783ee73468
parent 69c8ea19256726bbd0cbf11907f45278bee16523
Author: Cem Keylan <cem@ckyln.com>
Date: Tue, 26 Nov 2019 01:04:50 +0300
fix makefile when updating
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
@@ -15,8 +15,8 @@ install:
@sed "s#getfunctionpath#${PREFIX}/share/sb-func#g" < sb | sed "s#vnumber#${VERSION}#g" > ${DESTDIR}${PREFIX}/bin/sb
@chmod 755 ${DESTDIR}${PREFIX}/bin/sb
@echo Installing sb function modules to ${DESTDIR}${PREFIX}/share/sb-func
- @mkdir -p ${DESTDIR}${PREFIX}/share
- @cp -rf func ${DESTDIR}${PREFIX}/share/sb-func
+ @mkdir -p ${DESTDIR}${PREFIX}/share/sb-func
+ @cp -f func/* ${DESTDIR}${PREFIX}/share/sb-func
@chmod 644 ${DESTDIR}${PREFIX}/share/sb-func/*
@echo Installing manuals to ${DESTDIR}${MANPREFIX}
@mkdir -p ${DESTDIR}${MANPREFIX}/man1