Uniglot/Makefile

32 lines
708 B
Makefile
Raw Normal View History

2019-04-30 16:07:30 -05:00
installdir = ${pkgdir}/opt/aninix/Uniglot/
targets = Bash C CSharp Hooks
2019-04-30 15:53:55 -05:00
compile:
@echo Nothing to compile.
install: compile
mkdir -p ${installdir}
for target in ${targets}; do rsync -avzzl "$$target" ${installdir}; done
mkdir -p ${pkgdir}/usr/local/bin
install -m 0755 -o root -g root bin/uniglot-clone ${pkgdir}/usr/local/bin
2019-04-30 15:53:55 -05:00
make checkperm
clean:
for i in `cat .gitignore`; do rm -Rf $$i; done
uninstall:
rm -Rf ${installdir}
test:
python3 -m pytest
2019-04-30 15:53:55 -05:00
checkperm:
chmod -R 0755 ${installdir} ${pkgdir}/usr/local/bin/uniglot-clone
chown root:root ${installdir} ${pkgdir}/usr/local/bin/uniglot-clone
2019-04-30 15:53:55 -05:00
diff: ${INSTALLFIR}
diff -rc . ${installdir}
reverse:
rsync -avzlp ${installdir} .