Fixing the install/uninstall again.
This commit is contained in:
parent
6f0e75ccc0
commit
c74fc014a4
10
Makefile
10
Makefile
@ -51,11 +51,11 @@ install: all
|
|||||||
@mkdir -p ${DESTDIR}${PREFIX}/bin
|
@mkdir -p ${DESTDIR}${PREFIX}/bin
|
||||||
@for i in ${LAYOUTS}; \
|
@for i in ${LAYOUTS}; \
|
||||||
do \
|
do \
|
||||||
if [ -e svkbd.$$i ]; \
|
if [ -e svkbd-$$i ]; \
|
||||||
then \
|
then \
|
||||||
echo CP svkbd.$$i; \
|
echo CP svkbd-$$i; \
|
||||||
cp svkbd.$$i ${DESTDIR}${PREFIX}/bin; \
|
cp svkbd-$$i ${DESTDIR}${PREFIX}/bin; \
|
||||||
chmod 755 ${DESTDIR}${PREFIX}/bin/svkbd.$$i; \
|
chmod 755 ${DESTDIR}${PREFIX}/bin/svkbd-$$i; \
|
||||||
fi \
|
fi \
|
||||||
done
|
done
|
||||||
# @echo installing manual page to ${DESTDIR}${MANPREFIX}/man1
|
# @echo installing manual page to ${DESTDIR}${MANPREFIX}/man1
|
||||||
@ -65,7 +65,7 @@ install: all
|
|||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
@echo removing executable files from ${DESTDIR}${PREFIX}/bin
|
@echo removing executable files from ${DESTDIR}${PREFIX}/bin
|
||||||
@rm -f ${DESTDIR}${PREFIX}/bin/svkbd.*
|
@rm -f ${DESTDIR}${PREFIX}/bin/svkbd-*
|
||||||
# @echo removing manual page from ${DESTDIR}${MANPREFIX}/man1
|
# @echo removing manual page from ${DESTDIR}${MANPREFIX}/man1
|
||||||
# @rm -f ${DESTDIR}${MANPREFIX}/man1/svkbd.1
|
# @rm -f ${DESTDIR}${MANPREFIX}/man1/svkbd.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user