Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Makefile: Add deps-ubuntu target #12

Merged
merged 3 commits into from
May 22, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,22 @@ help:
@echo ""
@echo " Targets"
@echo ""
@echo " deps Install python packages"
@echo " install Install the executable in $(PREFIX)/bin and the ocrd-tool.json to $(SHAREDIR)"
@echo " uninstall Uninstall scripts and $(SHAREDIR)"
@echo " docker Build Docker image"
@echo " deps-ubuntu Install system packages (on Debian/Ubuntu)"
@echo " deps Install python packages"
@echo " install Install the executable in $(PREFIX)/bin and the ocrd-tool.json to $(SHAREDIR)"
@echo " uninstall Uninstall scripts and $(SHAREDIR)"
@echo " docker Build Docker image"
@echo ""
@echo " Variables"
@echo ""
@echo " PREFIX Directory to install to ('$(PREFIX)')"

# END-EVAL

# Install system packages (on Debian/Ubuntu)
deps-ubuntu:
apt-get install -y make python3 python3-pip python3-venv openjdk-8-jdk
sulzbals marked this conversation as resolved.
Show resolved Hide resolved

# Install python packages
deps:
$(PIP) install ocrd # needed for ocrd CLI (and bashlib)
Expand Down