stranslate allows you to translate text from your terminal, using a privacy-friendly backend.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
stranslate/Makefile

16 lines
399 B

PREFIX=/usr/local
test: stranslate.sh
shellcheck -s sh stranslate.sh
install: stranslate.sh stranslate.1
mkdir -p ${DESTDIR}${PREFIX}/bin/
install stranslate.sh ${DESTDIR}${PREFIX}/bin/stranslate
mkdir -p /usr/share/man/man1/
cp -f stranslate.1 /usr/share/man/man1/
uninstall:
rm -f ${DESTDIR}${PREFIX}/bin/stranslate
rm -f /usr/share/man/man1/stranslate.1
.PHONY: test install uninstall